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)

Removes a label applied to an item.

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

member UnlabelItem : 
        labelName:string * 
        labelScope:string * 
        itemSpecs:ItemSpec[] * 
        version:VersionSpec -> LabelResult[] 

Parameters

labelName
Type: System.String

The name of the label to remove.

labelScope
Type: System.String

The repository path representing the scope at which the label is defined.

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

An array of ItemSpec objects from which to remove the specified label.

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

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

Return Value

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

Show:
© 2015 Microsoft