Export (0) Print
Expand All

Workspace.GetWorkingFolderForServerItem Method (String)

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)

public WorkingFolder GetWorkingFolderForServerItem(
	string serverItem
)

Parameters

serverItem
Type: System.String

The 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.

ExceptionCondition
ItemNotMappedException

Thrown if the server item is not mapped in the workspace.

First shipped in Visual Studio Team Foundation Server 2005

Show:
© 2015 Microsoft