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.StringThe path of a team project folder.
sourceProject
Type: System.StringThe source project.
comment
Type: System.StringA comment about this folder.
exclusiveCheckout
Type: System.BooleanTrue 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.
.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.
See Also
Reference
TeamProjectFolderOptions Class