Поделиться через


Repository4.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), _
    <OutAttribute> ByRef failures As StreamingCollection(Of Failure) _
) As CheckinResult
[WebMethodAttribute]
public CheckinResult CreateBranch(
    string sourcePath,
    string targetPath,
    VersionSpec version,
    Changeset info,
    CheckinNotificationInfo checkinNotificationInfo,
    List<Mapping> mappings,
    out StreamingCollection<Failure> failures
)

Параметры

  • sourcePath
    Тип: System.String
    Путь источника ветви (рекурсивной).
  • targetPath
    Тип: System.String
    Целевой объект ветви.

Возвращаемое значение

Тип: Microsoft.TeamFoundation.VersionControl.Server.CheckinResult

Безопасность платформы .NET Framework

См. также

Ссылки

Repository4 Класс

Microsoft.TeamFoundation.VersionControl.Server - пространство имен