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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
labelName
Type: System.StringName of label to delete.
labelScope
Type: System.StringItem 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
- 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.