添加和移除项目的关联的标记在特定版本
命名空间: Microsoft.TeamFoundation.Server.Core
程序集: Microsoft.TeamFoundation.Server.Core(在 Microsoft.TeamFoundation.Server.Core.dll 中)
语法
声明
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
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Team Foundation 请求上下文。
- artifactId
类型:T
项目 ID
- addedTags
类型:System.Collections.Generic.IEnumerable<Guid>
要添加的标记
- removedTags
类型:System.Collections.Generic.IEnumerable<Guid>
要移除的标记
- changedBy
类型:System.Guid
更换者的 Team Foundation ID,可以是 Guid.Empty
- version
类型:System.Int32
项目版本
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。