VersionControlServer.CreateLabel Method (VersionControlLabel, LabelItemSpec(), LabelChildOption)
Visual Studio 2012
Create or update a label.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
'Declaration Public Function CreateLabel ( _ label As VersionControlLabel, _ itemSpecs As LabelItemSpec(), _ options As LabelChildOption _ ) As LabelResult()
Parameters
- label
- Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel
The label definition to create or update.
- itemSpecs
- Type: Microsoft.TeamFoundation.VersionControl.Client.LabelItemSpec()
The item specs included in the label.
- options
- Type: Microsoft.TeamFoundation.VersionControl.Client.LabelChildOption
Options to handle existing items in a label.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.LabelResult()Results of the label operations.
- 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.