This documentation is archived and is not being maintained.

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)

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.

Show: