TeamProjectFolderOptions 构造函数 (String, String, String, Boolean, array<TeamProjectFolderPermission[], array<CheckinNoteFieldDefinition , Boolean)

初始化的新 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(), _
    getLatestOnCheckout As Boolean _
)
public TeamProjectFolderOptions(
    string teamProject,
    string sourceProject,
    string comment,
    bool exclusiveCheckout,
    TeamProjectFolderPermission[] permissions,
    CheckinNoteFieldDefinition[] checkinNoteDefinition,
    bool getLatestOnCheckout
)

参数

  • teamProject
    类型:System.String
    团队项目文件夹的路径。
  • exclusiveCheckout
    类型:System.Boolean
    true 锁定在签出的文件,否则,错误。
  • getLatestOnCheckout
    类型:System.Boolean
    true 获取一个文件的最新版本在签出的。

.NET Framework 安全性

请参见

参考

TeamProjectFolderOptions 类

TeamProjectFolderOptions 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间