Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Creates a label.

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

public LabelResult[] CreateLabel(
	VersionControlLabel label,
	LabelItemSpec[] itemSpecs,
	LabelChildOption options,
	out Failure[] failures
)

Parameters

label
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel

The label definition to create or update.

itemSpecs
Type: Microsoft.TeamFoundation.VersionControl.Client.LabelItemSpec[]

The item specs included in the label.

options
Type: Microsoft.TeamFoundation.VersionControl.Client.LabelChildOption

Options to handle existing items in a label.

failures
Type: Microsoft.TeamFoundation.VersionControl.Client.Failure[]

The list of errors.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft