This documentation is archived and is not being maintained.

Workspace::TryGetServerItemForLocalItem Method (String)

Gets the corresponding server item for the specified local item. Does not throw exceptions.

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

public:
String^ TryGetServerItemForLocalItem(
	String^ localItem
)

Parameters

localItem
Type: System::String

The path to the local item.

Return Value

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

First shipped in TFS 2005

Show: