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重载列表并设置指定的每个属性。 主动这是跨连接更新。
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 ITeamFoundationService.ServiceEnd 执行所有必要的清理步骤。
显式接口实现私有方法 ITeamFoundationService.ServiceStart 执行任何必需的初始化步骤。

页首

线程安全

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

请参见

参考

Microsoft.TeamFoundation.Framework.Server 命名空间