This documentation is archived and is not being maintained.

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:
array<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: array<Microsoft.TeamFoundation.VersionControl.Client::LabelResult>
Results of the label operation.

Show: