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)
Syntax
声明
Public Function DeleteLabel ( _
    labelName As String, _
    labelScope As String _
) As LabelResult()
public LabelResult[] DeleteLabel(
    string labelName,
    string labelScope
)
public:
array<LabelResult^>^ DeleteLabel(
    String^ labelName, 
    String^ labelScope
)
member DeleteLabel : 
        labelName:string * 
        labelScope:string -> LabelResult[] 
public function DeleteLabel(
    labelName : String, 
    labelScope : String
) : LabelResult[]
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.
.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.