Delen via


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

Adds and removes tags association for an artifact, that artifact-tag association version will be incremented

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 _
)
void UpdateTagsForArtifact(
    TeamFoundationRequestContext requestContext,
    T artifactId,
    IEnumerable<Guid> addedTags,
    IEnumerable<Guid> removedTags,
    Guid changedBy
)
void UpdateTagsForArtifact(
    TeamFoundationRequestContext^ requestContext, 
    T artifactId, 
    IEnumerable<Guid>^ addedTags, 
    IEnumerable<Guid>^ removedTags, 
    Guid changedBy
)
abstract UpdateTagsForArtifact : 
        requestContext:TeamFoundationRequestContext * 
        artifactId:'T * 
        addedTags:IEnumerable<Guid> * 
        removedTags:IEnumerable<Guid> * 
        changedBy:Guid -> unit
function UpdateTagsForArtifact(
    requestContext : TeamFoundationRequestContext, 
    artifactId : T, 
    addedTags : IEnumerable<Guid>, 
    removedTags : IEnumerable<Guid>, 
    changedBy : Guid
)

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