Share via


Repository.LabelItem 方法

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

语法

声明
<WebMethodAttribute> _
Public Function LabelItem ( _
    workspaceName As String, _
    workspaceOwner As String, _
    label As VersionControlLabel, _
    labelSpecs As LabelItemSpec(), _
    children As LabelChildOption, _
    <OutAttribute> ByRef failures As List(Of Failure) _
) As List(Of LabelResult)
[WebMethodAttribute]
public List<LabelResult> LabelItem(
    string workspaceName,
    string workspaceOwner,
    VersionControlLabel label,
    LabelItemSpec[] labelSpecs,
    LabelChildOption children,
    out List<Failure> failures
)

参数

  • workspaceName
    类型:System.String
    工作区域的名称,如果 itemSpecs 本地。
  • workspaceOwner
    类型:System.String
    工作区域的所有者,如果 itemSpecs 本地。

返回值

类型:System.Collections.Generic.List<LabelResult>
列出标签及其关联的事件。

.NET Framework 安全性

请参阅

参考

Repository 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间