Partager via


ITagStorageProvider<T>.UpdateTagsForArtifact Method (TeamFoundationRequestContext, T, IEnumerable<Guid>, IEnumerable<Guid>, Guid, Int32)

Adds and removes tags association for an artifact at a specific version

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

Syntax

'Declaration
Sub UpdateTagsForArtifact ( _
    requestContext As TeamFoundationRequestContext, _
    artifactId As T, _
    addedTags As IEnumerable(Of Guid), _
    removedTags As IEnumerable(Of Guid), _
    changedBy As Guid, _
    version As Integer _
)
void UpdateTagsForArtifact(
    TeamFoundationRequestContext requestContext,
    T artifactId,
    IEnumerable<Guid> addedTags,
    IEnumerable<Guid> removedTags,
    Guid changedBy,
    int version
)
void UpdateTagsForArtifact(
    TeamFoundationRequestContext^ requestContext, 
    T artifactId, 
    IEnumerable<Guid>^ addedTags, 
    IEnumerable<Guid>^ removedTags, 
    Guid changedBy, 
    int version
)
abstract UpdateTagsForArtifact : 
        requestContext:TeamFoundationRequestContext * 
        artifactId:'T * 
        addedTags:IEnumerable<Guid> * 
        removedTags:IEnumerable<Guid> * 
        changedBy:Guid * 
        version:int -> unit
function UpdateTagsForArtifact(
    requestContext : TeamFoundationRequestContext, 
    artifactId : T, 
    addedTags : IEnumerable<Guid>, 
    removedTags : IEnumerable<Guid>, 
    changedBy : Guid, 
    version : int
)

Parameters

  • artifactId
    Type: T

    artifact id

  • changedBy
    Type: System.Guid

    Team Foundation Id of the changer, can be Guid.Empty

.NET Framework Security

See Also

Reference

ITagStorageProvider<T> Interface

UpdateTagsForArtifact Overload

Microsoft.TeamFoundation.Server.Core Namespace