This documentation is archived and is not being maintained.
VersionControlLabel Constructor
Visual Studio 2013
Creates a representation of a source control label that will be sent to the server.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public:
VersionControlLabel(
VersionControlServer^ sourceControl,
String^ name,
String^ ownerName,
String^ scope,
String^ comment
)
Parameters
- sourceControl
- Type: Microsoft.TeamFoundation.VersionControl.Client::VersionControlServer
The repository that contains this label.
- name
- Type: System::String
The label name.
- ownerName
- Type: System::String
The label owner. May be null.
- scope
- Type: System::String
The folder path defining the scope of the label. May be null.
- comment
- Type: System::String
The label comment. May be null.
- 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.
Show: