共用方式為


TeamFoundationVersionControlService.CreateBranch Method

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

Syntax

'宣告
Public Function CreateBranch ( _
    requestContext As TeamFoundationRequestContext, _
    sourcePath As String, _
    targetPath As String, _
    version As VersionSpec, _
    info As Changeset, _
    checkinNotificationInfo As CheckinNotificationInfo, _
    mappings As List(Of Mapping) _
) As TeamFoundationDataReader
public TeamFoundationDataReader CreateBranch(
    TeamFoundationRequestContext requestContext,
    string sourcePath,
    string targetPath,
    VersionSpec version,
    Changeset info,
    CheckinNotificationInfo checkinNotificationInfo,
    List<Mapping> mappings
)
public:
TeamFoundationDataReader^ CreateBranch(
    TeamFoundationRequestContext^ requestContext, 
    String^ sourcePath, 
    String^ targetPath, 
    VersionSpec^ version, 
    Changeset^ info, 
    CheckinNotificationInfo^ checkinNotificationInfo, 
    List<Mapping^>^ mappings
)
member CreateBranch : 
        requestContext:TeamFoundationRequestContext * 
        sourcePath:string * 
        targetPath:string * 
        version:VersionSpec * 
        info:Changeset * 
        checkinNotificationInfo:CheckinNotificationInfo * 
        mappings:List<Mapping> -> TeamFoundationDataReader 
public function CreateBranch(
    requestContext : TeamFoundationRequestContext, 
    sourcePath : String, 
    targetPath : String, 
    version : VersionSpec, 
    info : Changeset, 
    checkinNotificationInfo : CheckinNotificationInfo, 
    mappings : List<Mapping>
) : TeamFoundationDataReader

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace