共用方式為


Workspace.IsServerPathMapped 方法 (String)

如果伺服器項目對應和未隱匿,則傳回 true。 這個方法可能會隱含隱匿的伺服器路徑的誤報。

命名空間:  Microsoft.TeamFoundation.VersionControl.Client
組件:  Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

語法

'宣告
Public Function IsServerPathMapped ( _
    serverPath As String _
) As Boolean
public bool IsServerPathMapped(
    string serverPath
)

參數

  • serverPath
    類型:System.String
    要檢查的伺服器項目。

傳回值

類型:System.Boolean
如果伺服器項目對應和未隱匿,則為 true;則為,否則為 false。

備註

首先要傳送到 Visual Studio 2005 Team Foundation Server。

.NET Framework 安全性

請參閱

參考

Workspace 類別

IsServerPathMapped 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間