Compartilhar via


Workspace.IsServerPathMapped Method (String)

Returns true if the server item is mapped and not cloaked. This method may return a false positive for implicitly cloaked server paths.

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

Syntax

'Declaration
Public Function IsServerPathMapped ( _
    serverPath As String _
) As Boolean
public bool IsServerPathMapped(
    string serverPath
)
public:
bool IsServerPathMapped(
    String^ serverPath
)
member IsServerPathMapped : 
        serverPath:string -> bool
public function IsServerPathMapped(
    serverPath : String
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the server item is mapped and not cloaked; otherwise, false.

Remarks

First shipped in Visual Studio 2005 Team Foundation Server.

.NET Framework Security

See Also

Reference

Workspace Class

IsServerPathMapped Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace