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
'宣言
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
- serverPath
Type: System.String
The server item to check.
Return Value
Type: System.Boolean
True if the server item is mapped and not cloaked, false otherwise.
Remarks
First shipped in Visual Studio 2005 Team Foundation Server.
.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.