Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VersionControlServer.UnlabelItem Method (String, String, ItemSpec[], VersionSpec, Predicate<Failure>, Failure[])

Removes a label that is applied to an item.

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

public LabelResult[] UnlabelItem(
	string labelName,
	string labelScope,
	ItemSpec[] itemSpecs,
	VersionSpec version,
	Predicate<Failure> failureFilter,
	out Failure[] filteredFailures
)

Parameters

labelName
Type: System.String

The name of the label being removed

labelScope
Type: System.String

The repository path denoting the scope at which the label is defined

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

An array of items to remove from the label

version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec

The version of the specified items to remove -- typically the label's LabelVersionSpec

failureFilter
Type: System.Predicate<Failure>
filteredFailures
Type: Microsoft.TeamFoundation.VersionControl.Client.Failure[]

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.LabelResult[]
Results of the label operations

Show:
© 2015 Microsoft