Export (0) Print
Expand All

Workspace.IsServerPathMapped Method (String, Boolean)

Verifies whether the specified server item is mapped and not cloaked.

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

public bool IsServerPathMapped(
	string serverPath,
	bool detectImplicitCloak
)

Parameters

serverPath
Type: System.String

The server item.

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.Boolean
True if the server item is mapped and not cloaked; otherwise, false.

First shipped in TFS 2010

Show:
© 2014 Microsoft