Repository.DeleteLabel 方法

删除用给定的名称和根项的标签。

命名空间:  Microsoft.TeamFoundation.VersionControl.Server
程序集:  Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

语法

声明
<WebMethodAttribute> _
Public Function DeleteLabel ( _
    labelName As String, _
    labelScope As String _
) As List(Of LabelResult)
[WebMethodAttribute]
public List<LabelResult> DeleteLabel(
    string labelName,
    string labelScope
)

参数

  • labelScope
    类型:System.String
    表示标签的范围或父该文件夹的项目。

返回值

类型:System.Collections.Generic.List<LabelResult>
作为 LabelResult 对象已删除的列表标签。

.NET Framework 安全性

请参阅

参考

Repository 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间