共用方式為


WorkItemStore.TeamFoundationServer 屬性

注意:這個應用程式開發介面現在已經過時。

取得與 Team Foundation Server執行之伺服器的連接。

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

語法

'宣告
<ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this property. Use the corresponding property of type TfsTeamProjectCollection instead.")> _
Public ReadOnly Property TeamFoundationServer As TeamFoundationServer
[ObsoleteAttribute("The TeamFoundationServer class is obsolete and so is this property. Use the corresponding property of type TfsTeamProjectCollection instead.")]
public TeamFoundationServer TeamFoundationServer { get; }

屬性值

型別:Microsoft.TeamFoundation.Client.TeamFoundationServer
Team Foundation Server與執行之伺服器的連接。

備註

這個 API 和 TeamFoundationServer 型別已過期且為回溯相容性 (Backward Compatibility) 只包含。 應使用 TfsTeamProjectCollection 型別,而且應該更新所有支援的基礎結構使用。

.NET Framework 安全性

請參閱

參考

WorkItemStore 類別

Microsoft.TeamFoundation.WorkItemTracking.Client 命名空間