Export (0) Print
Expand All

Workspace.GetLocalItemForServerItem Method (String)

Gets the corresponding local item for the specified server item.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public string GetLocalItemForServerItem(
	string serverItem
)

Parameters

serverItem
Type: System.String

The server item.

Return Value

Type: System.String
The corresponding local item for the specified server item.

ExceptionCondition
ItemNotMappedException

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

ItemCloakedException

Thrown if the server item is cloaked in the workspace.

First shipped in TFS 2005

Show:
© 2014 Microsoft