Export (0) Print
Expand All

Workspace.TryGetServerItemForLocalItem Method (String, WorkingFolder[])

Gets the corresponding server item for the specified local item.

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

public static string TryGetServerItemForLocalItem(
	string localItem,
	WorkingFolder[] folders
)

Parameters

localItem
Type: System.String

The local path to the item.

folders
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder[]

The WorkingFolder objects that are used to translate the path.

Return Value

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

First shipped in Visual Studio Team Foundation Server 2005

Show:
© 2014 Microsoft