Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets a WorkingFolder instance that describes how the specified server item is mapped in the workspace.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetWorkingFolderForServerItem ( _
serverItem As String _
) As WorkingFolder
public WorkingFolder GetWorkingFolderForServerItem(
string serverItem
)
public:
WorkingFolder^ GetWorkingFolderForServerItem(
String^ serverItem
)
member GetWorkingFolderForServerItem :
serverItem:string -> WorkingFolder
public function GetWorkingFolderForServerItem(
serverItem : String
) : WorkingFolder
Parameters
serverItem
Type: System.StringThe server path in the workspace.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder
A WorkingFolder instance that describes how the server path is mapped in the workspace.
Exceptions
| Exception | Condition |
|---|---|
| ItemNotMappedException | Thrown if the server item is not mapped in the workspace. |
Remarks
First shipped in Visual Studio Team Foundation Server 2005
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.