Delen via


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

  • 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.

Remarks

First shipped in TFS 2010

.NET Framework Security

See Also

Reference

Workspace Class

IsServerPathMapped Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace