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
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
version
Type: System.Int32Artifact version
.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