TeamProject 類別
表示 Team 專案相關的版本控制功能。
繼承階層架構
System.Object
Microsoft.TeamFoundation.VersionControl.Client.TeamProject
命名空間: Microsoft.TeamFoundation.VersionControl.Client
組件: Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)
語法
'宣告
Public NotInheritable Class TeamProject
public sealed class TeamProject
TeamProject 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
ArtifactUri | 取得變形此 Team 專案的統一資源識別元 (URI)。 |
![]() |
ExclusiveCheckout | 取得或設定描述的旗標是在這個 Team 專案中修改的檔案是否完全將鎖定。 |
![]() |
GetLatestOnCheckout | 取得或設定是否會描述以取得檔案的最新版本在簽出的旗標。 |
![]() |
Name | 取得這個 Team 專案的名稱。 |
![]() |
ServerItem | 取得這個專案伺服器路徑儲存機制中。 |
![]() |
TeamFoundationServer | 已過時。取得執行 Team Foundation Server 這個 Team 專案所在的伺服器。 |
![]() |
TeamProjectCollection | 取得這個 Team 專案所在的 TfsTeamProjectCollection。 |
![]() |
VersionControlServer | 取得包含此 Team 專案的 VersionControlServer 。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | 確認這個 TeamProject 執行個體是否等於另一個物件。 (覆寫 Object.Equals(Object)。) |
![]() |
GetCheckinNoteFields | 取得與這個專案中的欄位定義。 |
![]() |
GetCheckinPolicies | 取得這個專案的簽入原則。 |
![]() |
GetHashCode | 取得這個 TeamProject 執行個體的雜湊程式碼。 (覆寫 Object.GetHashCode()。) |
![]() |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 |
![]() |
SetCheckinNoteFields | 建立與這個專案的一組新的欄位定義。 |
![]() |
SetCheckinPolicies | 設定這個專案的簽入原則。 |
![]() |
ToString | 傳回表示目前物件的字串。 (繼承自 Object)。 |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。不保證任何執行個體成員是安全執行緒。