Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Workspace.GetLocalItemForServerItem Method (String, Boolean)

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,
	bool detectImplicitCloak
)

Parameters

serverItem
Type: System.String

The server item to translate.

detectImplicitCloak
Type: System.Boolean

True to detect whether the server item is implicitly cloaked in the workspace. Forces this method to return false if the server item is implicitly cloaked. False to ignore implicit cloaking.

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 2010

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.