Repository.LabelItem Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Декларация
<WebMethodAttribute> _
Public Function LabelItem ( _
workspaceName As String, _
workspaceOwner As String, _
label As VersionControlLabel, _
labelSpecs As LabelItemSpec(), _
children As LabelChildOption, _
<OutAttribute> ByRef failures As List(Of Failure) _
) As List(Of LabelResult)
[WebMethodAttribute]
public List<LabelResult> LabelItem(
string workspaceName,
string workspaceOwner,
VersionControlLabel label,
LabelItemSpec[] labelSpecs,
LabelChildOption children,
out List<Failure> failures
)
[WebMethodAttribute]
public:
List<LabelResult^>^ LabelItem(
String^ workspaceName,
String^ workspaceOwner,
VersionControlLabel^ label,
array<LabelItemSpec^>^ labelSpecs,
LabelChildOption children,
[OutAttribute] List<Failure^>^% failures
)
[<WebMethodAttribute>]
member LabelItem :
workspaceName:string *
workspaceOwner:string *
label:VersionControlLabel *
labelSpecs:LabelItemSpec[] *
children:LabelChildOption *
failures:List<Failure> byref -> List<LabelResult>
public function LabelItem(
workspaceName : String,
workspaceOwner : String,
label : VersionControlLabel,
labelSpecs : LabelItemSpec[],
children : LabelChildOption,
failures : List<Failure>
) : List<LabelResult>
Parameters
- workspaceName
Type: System.String
- workspaceOwner
Type: System.String
- labelSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Server.LabelItemSpec[]
- failures
Type: System.Collections.Generic.List<Failure>%
Return Value
Type: System.Collections.Generic.List<LabelResult>
.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.