TeamFoundationPropertyService Class

Default implementation of the manager interface.

Provides management of generic artifact properties service.

Inheritance Hierarchy

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

Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
Public NotInheritable Class TeamFoundationPropertyService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
public sealed class TeamFoundationPropertyService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
public ref class TeamFoundationPropertyService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
type TeamFoundationPropertyService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationPropertyService implements ITeamFoundationService

The TeamFoundationPropertyService type exposes the following members.

Methods

Name Description
Public method CreateArtifactKind
Public method CreatePropertyDefinition
Public method DeleteArtifactKind
Public method DeleteArtifacts Deletes the specified artifacts and all their associated properties.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetArtifactKind
Public method GetArtifactKinds
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperties(TeamFoundationRequestContext, ArtifactSpec, IEnumerable<String>)
Public method GetProperties(TeamFoundationRequestContext, IEnumerable<ArtifactSpec>, IEnumerable<String>) Gets properties associated to given artifacts specs that satisfies property name filters. Note: All artifacts must be from the same artifact kind.
Public method GetProperties(TeamFoundationRequestContext, Guid, IEnumerable<String>) Returns ArtifactPropertyValues for all artifacts in a kind which have specific properties set.
Public method GetProperties(TeamFoundationRequestContext, IEnumerable<ArtifactSpec>, IEnumerable<String>, GetPropertiesOptions) Gets properties associated to given artifacts specs that satisfies property name filters. Note: All artifacts must be from the same artifact kind.
Public method GetProperties(TeamFoundationRequestContext, Guid, String, IEnumerable<String>)
Public method GetPropertyDefinitions
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method SetProperties(TeamFoundationRequestContext, IEnumerable<ArtifactPropertyValue>) Sets properties to artifacts Note: All artifacts must be of the same kind.
Public method SetProperties(TeamFoundationRequestContext, ArtifactSpec, IEnumerable<PropertyValue>) Sets properties to an artifact
Public method SetProperties(TeamFoundationRequestContext, IEnumerable<ArtifactSpec>, IEnumerable<PropertyValue>) SetProperties overload which will update each artifact in the artifact spec list and set each property specified. Effectively this is a Cross-Join Update.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd Perform any necessary clean-up steps.
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart Perform any necessary initialization steps.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace