Compartir a través de


Repository5.LabelItem (Método)

Crea o actualiza una etiqueta. Asocia las versiones especificadas de los elementos especificados.

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

Sintaxis

'Declaración
<WebMethodAttribute> _
Public Function LabelItem ( _
    workspaceName As String, _
    workspaceOwner As String, _
    label As VersionControlLabel, _
    labelSpecs As LabelItemSpec(), _
    children As LabelChildOption, _
    maxClientPathLength As Integer, _
    <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,
    int maxClientPathLength,
    out List<Failure> failures
)

Parámetros

  • workspaceName
    Tipo: System.String
    Nombre del área de trabajo si los itemSpecs son locales.
  • workspaceOwner
    Tipo: System.String
    Propietario del área de trabajo si los itemSpecs son locales.
  • maxClientPathLength
    Tipo: System.Int32
    La longitud de la ruta de acceso compatible cliente máximo del servidor.

Valor devuelto

Tipo: System.Collections.Generic.List<LabelResult>
Lista de etiquetas y sus acciones asociadas.

Seguridad de .NET Framework

Vea también

Referencia

Repository5 Clase

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