共用方式為


TeamProjectFolderOptions 建構函式 (String, String, String, Boolean, array<TeamProjectFolderPermission[], array<CheckinNoteFieldDefinition[])

初始化新的 TeamProjectFolderOptions 執行個體。

命名空間:  Microsoft.TeamFoundation.VersionControl.Client
組件:  Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

語法

'宣告
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
)

參數

  • teamProject
    型別:System.String
    Team 專案資料夾的路徑。
  • comment
    型別:System.String
    如需這個資料夾的註解。
  • exclusiveCheckout
    型別:System.Boolean
    true 表示鎖定在簽出的檔案;則為,否則為 false。

.NET Framework 安全性

請參閱

參考

TeamProjectFolderOptions 類別

TeamProjectFolderOptions 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間