Partager via


ITagStorageProvider<T> Interface

Contract for tag storage providers

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

Syntax

'Declaration
<InheritedExportAttribute> _
Public Interface ITagStorageProvider(Of T)
[InheritedExportAttribute]
public interface ITagStorageProvider<T>
[InheritedExportAttribute]
generic<typename T>
public interface class ITagStorageProvider
[<InheritedExportAttribute>]
type ITagStorageProvider<'T> =  interface end
JScript does not support generic types or methods.

Type Parameters

  • T
    artifact id type

The ITagStorageProvider<T> type exposes the following members.

Methods

  Name Description
Public method GetTagsForArtifacts Get tag association for a list of artifacts
Public method GetTagsForVersionedArtifacts Get tag association for a list of artifacts as of a specific version
Public method GetTagsHistoryForArtifact Get the tag association history for an artifact
Public method QueryArtifacts Search for artifacts in the intersection of set of tags.
Public method UpdateTagsForArtifact(TeamFoundationRequestContext, T, IEnumerable<Guid>, IEnumerable<Guid>, Guid) Adds and removes tags association for an artifact, that artifact-tag association version will be incremented
Public method UpdateTagsForArtifact(TeamFoundationRequestContext, T, IEnumerable<Guid>, IEnumerable<Guid>, Guid, Int32) Adds and removes tags association for an artifact at a specific version

Top

See Also

Reference

Microsoft.TeamFoundation.Server.Core Namespace