閱讀英文

共用方式為


Repository5.CreateBranch 方法

建立一個依分支的伺服器。

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

語法

[WebMethodAttribute]
public CheckinResult CreateBranch(
    string sourcePath,
    string targetPath,
    VersionSpec version,
    Changeset info,
    CheckinNotificationInfo checkinNotificationInfo,
    List<Mapping> mappings,
    int maxClientPathLength,
    out StreamingCollection<Failure> failures
)

參數

  • sourcePath
    類型:System.String
    分支的來源路徑 (遞迴)。
  • maxClientPathLength
    類型:System.Int32
    最大用戶端支援伺服器路徑長度。

傳回值

類型:Microsoft.TeamFoundation.VersionControl.Server.CheckinResult

.NET Framework 安全性

請參閱

參考

Repository5 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間