共用方式為


WorkspaceInfo.ServerUri 屬性

取得關聯的伺服器統一資源識別元 (URI) 執行 Team Foundation Server的 (URI)。

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

語法

'宣告
Public ReadOnly Property ServerUri As Uri
public Uri ServerUri { get; }

屬性值

類型:System.Uri
執行 Team Foundation Server的伺服器相關聯的 URI。

.NET Framework 安全性

請參閱

參考

WorkspaceInfo 類別

Microsoft.TeamFoundation.VersionControl.Client 命名空間