Export (0) Print
Expand All

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:
© 2014 Microsoft