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)

Syntax

'Declaration
Public Sub New ( _
    teamProject As String, _
    sourceProject As String, _
    comment As String, _
    exclusiveCheckout As Boolean, _
    permissions As TeamProjectFolderPermission(), _
    checkinNoteDefinition As CheckinNoteFieldDefinition(), _
    getLatestOnCheckout As Boolean _
)
public TeamProjectFolderOptions(
    string teamProject,
    string sourceProject,
    string comment,
    bool exclusiveCheckout,
    TeamProjectFolderPermission[] permissions,
    CheckinNoteFieldDefinition[] checkinNoteDefinition,
    bool getLatestOnCheckout
)
public:
TeamProjectFolderOptions(
    String^ teamProject, 
    String^ sourceProject, 
    String^ comment, 
    bool exclusiveCheckout, 
    array<TeamProjectFolderPermission^>^ permissions, 
    array<CheckinNoteFieldDefinition^>^ checkinNoteDefinition, 
    bool getLatestOnCheckout
)
new : 
        teamProject:string * 
        sourceProject:string * 
        comment:string * 
        exclusiveCheckout:bool * 
        permissions:TeamProjectFolderPermission[] * 
        checkinNoteDefinition:CheckinNoteFieldDefinition[] * 
        getLatestOnCheckout:bool -> TeamProjectFolderOptions
public function TeamProjectFolderOptions(
    teamProject : String, 
    sourceProject : String, 
    comment : String, 
    exclusiveCheckout : boolean, 
    permissions : TeamProjectFolderPermission[], 
    checkinNoteDefinition : CheckinNoteFieldDefinition[], 
    getLatestOnCheckout : boolean
)

Parameters

  • teamProject
    Type: System.String

    The path to a team project folder.

  • exclusiveCheckout
    Type: System.Boolean

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

  • getLatestOnCheckout
    Type: System.Boolean

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

.NET Framework Security

See Also

Reference

TeamProjectFolderOptions Class

TeamProjectFolderOptions Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace