VersionControlServer.UnlabelItem Method
Removes a label applied to an item.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function UnlabelItem ( _
labelName As String, _
labelScope As String, _
itemSpecs As ItemSpec(), _
version As VersionSpec _
) As LabelResult()
public LabelResult[] UnlabelItem(
string labelName,
string labelScope,
ItemSpec[] itemSpecs,
VersionSpec version
)
public:
array<LabelResult^>^ UnlabelItem(
String^ labelName,
String^ labelScope,
array<ItemSpec^>^ itemSpecs,
VersionSpec^ version
)
member UnlabelItem :
labelName:string *
labelScope:string *
itemSpecs:ItemSpec[] *
version:VersionSpec -> LabelResult[]
public function 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: array<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: array<Microsoft.TeamFoundation.VersionControl.Client.LabelResult[]
Results of the label operations.
.NET Framework Security
- 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.