Workspace.IsServerPathMapped Method (String, Boolean)

Checks to see if 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

'Declaração
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

  • detectImplicitCloak
    Type: System.Boolean
    True to detect if 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

See Also

Reference

Workspace Class

IsServerPathMapped Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace