TeamFoundationSecurityService 类

安全命名空间的管理集合的接口。

继承层次结构

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

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

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

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 执行任何必需的初始化步骤。

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.TeamFoundation.Framework.Server 命名空间