Partilhar via


Método Repository5.QueryLabels

Retorna lista de rótulos correspondentes aos campos fornecidos. Os campos nulos não são usados como parte de comparação.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (em Microsoft.TeamFoundation.VersionControl.Server.dll)

Sintaxe

'Declaração
<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
)

Parâmetros

  • labelName
    Tipo: System.String
    Nome do rótulo ou de curinga para corresponder-lo.
  • labelScope
    Tipo: System.String
    Item que especifica o escopo do rótulo.Todas as rótulos a ou abaixo de item são retornadas.
  • includeItems
    Tipo: System.Boolean
    Se verdadeiro, o membro retornado de itens de objetos de VersionControlLabel será preenchido.
  • maxClientPathLength
    Tipo: System.Int32
    O comprimento de caminho suporte de servidor do cliente máximo.

Valor de retorno

Tipo: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<VersionControlLabel>
Matriz dos objetos de VersionControlLabel.

Segurança do .NET Framework

Consulte também

Referência

Repository5 Classe

Namespace Microsoft.TeamFoundation.VersionControl.Server