Share via


TeamFoundationVersionControlService.LabelItem 方法 (TeamFoundationRequestContext, String, String, VersionControlLabel, array<LabelItemSpec[], LabelChildOption, PathLength)

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

语法

声明
Public Function LabelItem ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    label As VersionControlLabel, _
    labelSpecs As LabelItemSpec(), _
    children As LabelChildOption, _
    maxClientPathLength As PathLength _
) As TeamFoundationDataReader
public TeamFoundationDataReader LabelItem(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    VersionControlLabel label,
    LabelItemSpec[] labelSpecs,
    LabelChildOption children,
    PathLength maxClientPathLength
)

参数

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

返回值

类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
的结果 TeamFoundationDataReader 在下面的排序:LabelResult[] -列表标签及其关联操作Failure[] -遇到的列表失败,展开 itemSpecs 时。

.NET Framework 安全性

请参阅

参考

TeamFoundationVersionControlService 类

LabelItem 重载

Microsoft.TeamFoundation.VersionControl.Server 命名空间