This documentation is archived and is not being maintained.

Workspace::TryGetServerItemForLocalItem Method (String, array<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, 
	array<WorkingFolder^>^ folders
)

Parameters

localItem
Type: System::String

The local path to the item.

folders
Type: array<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: