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
'宣言
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.
- 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.
.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