Compartilhar via


Método Repository.LabelItem

Cria ou atualiza um rótulo. Associa as versões fornecidas dos itens indicados.

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

Sintaxe

'Declaração
<WebMethodAttribute> _
Public Function LabelItem ( _
    workspaceName As String, _
    workspaceOwner As String, _
    label As VersionControlLabel, _
    labelSpecs As LabelItemSpec(), _
    children As LabelChildOption, _
    <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,
    out List<Failure> failures
)

Parâmetros

  • workspaceName
    Tipo: System.String
    Nome do espaço de trabalho se os itemSpecs são locais.
  • workspaceOwner
    Tipo: System.String
    Proprietário do espaço de trabalho se os itemSpecs são locais.

Valor de retorno

Tipo: System.Collections.Generic.List<LabelResult>
Lista de rótulos e suas ações associadas.

Segurança do .NET Framework

Consulte também

Referência

Repository Classe

Namespace Microsoft.TeamFoundation.VersionControl.Server