TeamFoundationSecurityService 類別

安全性命名空間中管理集合的介面。

繼承階層架構

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationSecurityService

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

語法

'宣告
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationDatabaseSettings))> _
<TeamFoundationServiceDependency(GetType(IdentityService))> _
Public NotInheritable Class TeamFoundationSecurityService _
    Implements IDisposable, ITeamFoundationSecurityService, ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationDatabaseSettings))]
[TeamFoundationServiceDependency(typeof(IdentityService))]
public sealed class TeamFoundationSecurityService : IDisposable, 
    ITeamFoundationSecurityService, ITeamFoundationService

TeamFoundationSecurityService 類型會公開下列成員。

方法

  名稱 描述
公用方法 CreateSecurityNamespace 根據提供的資訊的安全性命名空間。
公用方法 DeleteSecurityNamespace 刪除安全性命名空間集合的安全性命名空間。
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetSecurityNamespace 傳回 TeamFoundationSecurityNamespace 與執行個體相關聯的 GUID。GUID,如果沒有關聯的 ITeamFoundationSecurityNamespace,則會傳回。
公用方法 GetSecurityNamespaces 傳回所有的列舉目前現有的安全性 securityNamespaces。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 RemoveIdentityACEs 移除所提供的識別一點
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。
公用方法 UpdateSecurityNamespace 更新現有的安全性命名空間。這個資料會保存。

回頁首

明確介面實作

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

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.Framework.Server 命名空間