This documentation is archived and is not being maintained.
VersionControlServer.UnlabelItem Method (String, String, ItemSpec(), VersionSpec, Predicate(Of Failure), Failure())
Visual Studio 2013
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)
'Declaration Public Function UnlabelItem ( _ labelName As String, _ labelScope As String, _ itemSpecs As ItemSpec(), _ version As VersionSpec, _ failureFilter As Predicate(Of Failure), _ <OutAttribute> ByRef filteredFailures As Failure() _ ) As LabelResult()
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(Of Failure)
- filteredFailures
- Type: Microsoft.TeamFoundation.VersionControl.Client.Failure()
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.LabelResult()Results of the label operations
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: