Compartir a través de


Repository5.QueryLabels (Método)

Devuelve la lista de campos especificados coincidentes de las etiquetas. Los campos null no se utilizan como parte de la comparación.

Espacio de nombres:  Microsoft.TeamFoundation.VersionControl.Server
Ensamblado:  Microsoft.TeamFoundation.VersionControl.Server (en Microsoft.TeamFoundation.VersionControl.Server.dll)

Sintaxis

'Declaración
<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
    Nombre de la etiqueta o comodín para coincidir con él.
  • labelScope
    Tipo: System.String
    Elemento que especifica el ámbito de la etiqueta.Todas las etiquetas de o por debajo del elemento se devuelven.
  • includeItems
    Tipo: System.Boolean
    Si es true, se rellenará el miembro devuelto de los elementos de los objetos de VersionControlLabel.
  • maxClientPathLength
    Tipo: System.Int32
    La longitud de la ruta de acceso compatible cliente máximo del servidor.

Valor devuelto

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

Seguridad de .NET Framework

Vea también

Referencia

Repository5 Clase

Microsoft.TeamFoundation.VersionControl.Server (Espacio de nombres)