VersionControlServer.DeleteLabel Method

Deletes the label with the specified name and scope.

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

public LabelResult[] DeleteLabel(
	string labelName,
	string labelScope
)

Parameters

labelName
Type: System.String

The name of the label to delete.

labelScope
Type: System.String

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

Return Value

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

Show: