This documentation is archived and is not being maintained.

TeamProjectFolderOptions Constructor (String, String, String, Boolean, array<TeamProjectFolderPermission>, array<CheckinNoteFieldDefinition>, Boolean)

Initializes a new TeamProjectFolderOptions instance.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public:
TeamProjectFolderOptions(
	String^ teamProject, 
	String^ sourceProject, 
	String^ comment, 
	bool exclusiveCheckout, 
	array<TeamProjectFolderPermission^>^ permissions, 
	array<CheckinNoteFieldDefinition^>^ checkinNoteDefinition, 
	bool getLatestOnCheckout
)

Parameters

teamProject
Type: System::String

The path to a team project folder.

sourceProject
Type: System::String

The source project.

comment
Type: System::String

A comment about this folder.

exclusiveCheckout
Type: System::Boolean

True to lock the file on checkout; otherwise, false.

permissions
Type: array<Microsoft.TeamFoundation.VersionControl.Client::TeamProjectFolderPermission>

An array of folder permissions.

checkinNoteDefinition
Type: array<Microsoft.TeamFoundation.VersionControl.Client::CheckinNoteFieldDefinition>

An array of check-in note definitions.

getLatestOnCheckout
Type: System::Boolean

True to get the latest version of a file on checkout.

Show: