共用方式為


TeamFoundationVersionControlService.DeleteLabel Method

Deletes the label with the given name and root item.

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

Syntax

'Declaration
Public Function DeleteLabel ( _
    requestContext As TeamFoundationRequestContext, _
    labelName As String, _
    labelScope As String _
) As List(Of LabelResult)
public List<LabelResult> DeleteLabel(
    TeamFoundationRequestContext requestContext,
    string labelName,
    string labelScope
)
public:
List<LabelResult^>^ DeleteLabel(
    TeamFoundationRequestContext^ requestContext, 
    String^ labelName, 
    String^ labelScope
)
member DeleteLabel : 
        requestContext:TeamFoundationRequestContext * 
        labelName:string * 
        labelScope:string -> List<LabelResult> 
public function DeleteLabel(
    requestContext : TeamFoundationRequestContext, 
    labelName : String, 
    labelScope : String
) : List<LabelResult>

Parameters

  • labelScope
    Type: System.String

    Item representing the label's scope or a parent of it.

Return Value

Type: System.Collections.Generic.List<LabelResult>
List of labels deleted as LabelResult objects.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace