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)
Syntax
'Declaration
Public Function IsServerPathMapped ( _
serverPath As String, _
detectImplicitCloak As Boolean _
) As Boolean
public bool IsServerPathMapped(
string serverPath,
bool detectImplicitCloak
)
public:
bool IsServerPathMapped(
String^ serverPath,
bool detectImplicitCloak
)
member IsServerPathMapped :
serverPath:string *
detectImplicitCloak:bool -> bool
public function IsServerPathMapped(
serverPath : String,
detectImplicitCloak : boolean
) : boolean
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.