Share via


TeamFoundationVersionControlService.DeleteLabel 方法

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

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

语法

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

参数

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

返回值

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

.NET Framework 安全性

请参阅

参考

TeamFoundationVersionControlService 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间