Repository5.QueryLabels 方法

returns 与特定字段的标签列表。 为比较的一部分,空字段不使用。

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

语法

声明
<WebMethodAttribute> _
Public Function QueryLabels ( _
    workspaceName As String, _
    workspaceOwner As String, _
    labelName As String, _
    labelScope As String, _
    owner As String, _
    filterItem As String, _
    versionFilterItem As VersionSpec, _
    includeItems As Boolean, _
    generateDownloadUrls As Boolean, _
    maxClientPathLength As Integer _
) As StreamingCollection(Of VersionControlLabel)
[WebMethodAttribute]
public StreamingCollection<VersionControlLabel> QueryLabels(
    string workspaceName,
    string workspaceOwner,
    string labelName,
    string labelScope,
    string owner,
    string filterItem,
    VersionSpec versionFilterItem,
    bool includeItems,
    bool generateDownloadUrls,
    int maxClientPathLength
)

参数

  • labelName
    类型:System.String
    与它的标签或通配符的名称。
  • labelScope
    类型:System.String
    指定范围标签的项。在或项目之下的所有标签返回。
  • includeItems
    类型:System.Boolean
    如果为 true,则返回的对象 VersionControlLabel 项目成员将填充。
  • maxClientPathLength
    类型:System.Int32
    最大客户端支持服务器路径长度。

返回值

类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<VersionControlLabel>
匹配 VersionControlLabel 对象。

.NET Framework 安全性

请参阅

参考

Repository5 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间