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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextTeam Foundation request context
artifactId
Type: Tartifact id
addedTags
Type: System.Collections.Generic.IEnumerable<Guid>tags to be added
removedTags
Type: System.Collections.Generic.IEnumerable<Guid>tags to be removed
changedBy
Type: System.GuidTeam Foundation Id of the changer, can be Guid.Empty
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITagStorageProvider<T> Interface