Delen via


TeamProjectFolderOptions Constructor (String, String, String, Boolean, array<TeamProjectFolderPermission[], array<CheckinNoteFieldDefinition )

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() _
)
public TeamProjectFolderOptions(
    string teamProject,
    string sourceProject,
    string comment,
    bool exclusiveCheckout,
    TeamProjectFolderPermission[] permissions,
    CheckinNoteFieldDefinition[] checkinNoteDefinition
)
public:
TeamProjectFolderOptions(
    String^ teamProject, 
    String^ sourceProject, 
    String^ comment, 
    bool exclusiveCheckout, 
    array<TeamProjectFolderPermission^>^ permissions, 
    array<CheckinNoteFieldDefinition^>^ checkinNoteDefinition
)
new : 
        teamProject:string * 
        sourceProject:string * 
        comment:string * 
        exclusiveCheckout:bool * 
        permissions:TeamProjectFolderPermission[] * 
        checkinNoteDefinition:CheckinNoteFieldDefinition[] -> TeamProjectFolderOptions
public function TeamProjectFolderOptions(
    teamProject : String, 
    sourceProject : String, 
    comment : String, 
    exclusiveCheckout : boolean, 
    permissions : TeamProjectFolderPermission[], 
    checkinNoteDefinition : CheckinNoteFieldDefinition[]
)

Parameters

  • teamProject
    Type: System.String

    The path of a team project folder.

  • exclusiveCheckout
    Type: System.Boolean

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

.NET Framework Security

See Also

Reference

TeamProjectFolderOptions Class

TeamProjectFolderOptions Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace