Freigeben über


Repository4.CreateBranch-Methode

Erstellt eine Verzweigung zugesicherten auf dem Server.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
<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
)

Parameter

  • sourcePath
    Typ: System.String
    Quellpfad der Verzweigung (rekursive).

Rückgabewert

Typ: Microsoft.TeamFoundation.VersionControl.Server.CheckinResult

.NET Framework-Sicherheit

Siehe auch

Referenz

Repository4 Klasse

Microsoft.TeamFoundation.VersionControl.Server-Namespace