TeamFoundationPropertyService 類別

預設管理員介面的實作。

提供泛型成品屬性服務的管理。

繼承階層架構

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationPropertyService

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
Public NotInheritable Class TeamFoundationPropertyService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
public sealed class TeamFoundationPropertyService : ITeamFoundationService

TeamFoundationPropertyService 類型會公開下列成員。

方法

  名稱 描述
公用方法 CreateArtifactKind
公用方法 CreatePropertyDefinition
公用方法 DeleteArtifactKind
公用方法 DeleteArtifacts 刪除指定的成品和任何關聯的屬性。
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 GetArtifactKind
公用方法 GetArtifactKinds 取得可用的成品類型
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetProperties(TeamFoundationRequestContext, ArtifactSpec, IEnumerable<String>)
公用方法 GetProperties(TeamFoundationRequestContext, IEnumerable<ArtifactSpec>, IEnumerable<String>) 取得屬性符合屬性名稱篩選條件關聯的特定成品規格。 注意:所有成品必須來自同一個成品類型。
公用方法 GetProperties(TeamFoundationRequestContext, Guid, IEnumerable<String>) 傳回已設定之特定屬性的所有成品的 ArtifactPropertyValues 在型別。
公用方法 GetProperties(TeamFoundationRequestContext, IEnumerable<ArtifactSpec>, IEnumerable<String>, GetPropertiesOptions) 取得屬性符合屬性名稱篩選條件關聯的特定成品規格。 注意:所有成品必須來自同一個成品類型。
公用方法 GetProperties(TeamFoundationRequestContext, Guid, String, IEnumerable<String>)
公用方法 GetPropertyDefinitions
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 SetProperties(TeamFoundationRequestContext, IEnumerable<ArtifactPropertyValue>) 將屬性設定為成品注意:所有成品必須屬於相同型別。
公用方法 SetProperties(TeamFoundationRequestContext, ArtifactSpec, IEnumerable<PropertyValue>) 將屬性設定為成品
公用方法 SetProperties(TeamFoundationRequestContext, IEnumerable<ArtifactSpec>, IEnumerable<PropertyValue>) 將更新在成品規格清單的每個成品並設定指定的每個屬性的 SetProperties 多載。 這實際上是跨聯結更新。
公用方法 SetProperties(TeamFoundationRequestContext, IEnumerable<ArtifactPropertyValue>, Nullable<DateTime>, Nullable<Guid>) 將屬性設定為成品注意:所有成品必須屬於相同型別。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

明確介面實作

  名稱 描述
明確介面實作私用方法 ITeamFoundationService.ServiceEnd 執行任何必要的清除作業。
明確介面實作私用方法 ITeamFoundationService.ServiceStart 執行任何必要的初始化步驟。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.TeamFoundation.Framework.Server 命名空間