VersionControlLabel Constructor
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)
Syntax
'Declaração
Public Sub New ( _
sourceControl As VersionControlServer, _
name As String, _
ownerName As String, _
scope As String, _
comment As String _
)
public VersionControlLabel(
VersionControlServer sourceControl,
string name,
string ownerName,
string scope,
string comment
)
public:
VersionControlLabel(
VersionControlServer^ sourceControl,
String^ name,
String^ ownerName,
String^ scope,
String^ comment
)
new :
sourceControl:VersionControlServer *
name:string *
ownerName:string *
scope:string *
comment:string -> VersionControlLabel
public function VersionControlLabel(
sourceControl : VersionControlServer,
name : String,
ownerName : String,
scope : String,
comment : String
)
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.
.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.