共用方式為


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)

Syntax

'Declaration
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

  • 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

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace