Repository5.UnlabelItem Method
Removes the given item(s) from a named label.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function UnlabelItem ( _
workspaceName As String, _
workspaceOwner As String, _
labelName As String, _
labelScope As String, _
items As ItemSpec(), _
version As VersionSpec, _
maxClientPathLength As Integer, _
<OutAttribute> ByRef failures As List(Of Failure) _
) As List(Of LabelResult)
[WebMethodAttribute]
public List<LabelResult> UnlabelItem(
string workspaceName,
string workspaceOwner,
string labelName,
string labelScope,
ItemSpec[] items,
VersionSpec version,
int maxClientPathLength,
out List<Failure> failures
)
[WebMethodAttribute]
public:
List<LabelResult^>^ UnlabelItem(
String^ workspaceName,
String^ workspaceOwner,
String^ labelName,
String^ labelScope,
array<ItemSpec^>^ items,
VersionSpec^ version,
int maxClientPathLength,
[OutAttribute] List<Failure^>^% failures
)
[<WebMethodAttribute>]
member UnlabelItem :
workspaceName:string *
workspaceOwner:string *
labelName:string *
labelScope:string *
items:ItemSpec[] *
version:VersionSpec *
maxClientPathLength:int *
failures:List<Failure> byref -> List<LabelResult>
public function UnlabelItem(
workspaceName : String,
workspaceOwner : String,
labelName : String,
labelScope : String,
items : ItemSpec[],
version : VersionSpec,
maxClientPathLength : int,
failures : List<Failure>
) : List<LabelResult>
Parameters
workspaceName
Type: System.StringName of workspace if local itemspecs are used.
workspaceOwner
Type: System.StringOwner of workspace if local itemspecs are used.
labelName
Type: System.StringName of label to remove items from.
- labelScope
Type: System.String
items
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]Items to remove.
version
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpecVersion specs used to match item names.
maxClientPathLength
Type: System.Int32The maximum client supported server path length.
failures
Type: System.Collections.Generic.List<Failure>%List of failures encountered expanding itemSpecs.
Return Value
Type: System.Collections.Generic.List<LabelResult>
List of labels affected.
.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.