VersionControlServer.CreateLabel Method (VersionControlLabel, array<LabelItemSpec[], LabelChildOption, array<Failure %)

Creates a label.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Function CreateLabel ( _
    label As VersionControlLabel, _
    itemSpecs As LabelItemSpec(), _
    options As LabelChildOption, _
    <OutAttribute> ByRef failures As Failure() _
) As LabelResult()
public LabelResult[] CreateLabel(
    VersionControlLabel label,
    LabelItemSpec[] itemSpecs,
    LabelChildOption options,
    out Failure[] failures
)
public:
array<LabelResult^>^ CreateLabel(
    VersionControlLabel^ label, 
    array<LabelItemSpec^>^ itemSpecs, 
    LabelChildOption options, 
    [OutAttribute] array<Failure^>^% failures
)
member CreateLabel : 
        label:VersionControlLabel * 
        itemSpecs:LabelItemSpec[] * 
        options:LabelChildOption * 
        failures:Failure[] byref -> LabelResult[] 
public function CreateLabel(
    label : VersionControlLabel, 
    itemSpecs : LabelItemSpec[], 
    options : LabelChildOption, 
    failures : Failure[]
) : LabelResult[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.LabelResult[]
The created label.

.NET Framework Security

See Also

Reference

VersionControlServer Class

CreateLabel Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace