Repository.CreateBranch 方法

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

語法

'宣告
<WebMethodAttribute> _
Public Function CreateBranch ( _
    sourcePath As String, _
    targetPath As String, _
    version As VersionSpec, _
    info As Changeset, _
    checkinNotificationInfo As CheckinNotificationInfo, _
    mappings As List(Of Mapping) _
) As CheckinResult
[WebMethodAttribute]
public CheckinResult CreateBranch(
    string sourcePath,
    string targetPath,
    VersionSpec version,
    Changeset info,
    CheckinNotificationInfo checkinNotificationInfo,
    List<Mapping> mappings
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

Repository 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間