Repository.CreateBranch Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
‘선언
<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
)
[WebMethodAttribute]
public:
CheckinResult^ CreateBranch(
String^ sourcePath,
String^ targetPath,
VersionSpec^ version,
Changeset^ info,
CheckinNotificationInfo^ checkinNotificationInfo,
List<Mapping^>^ mappings
)
[<WebMethodAttribute>]
member CreateBranch :
sourcePath:string *
targetPath:string *
version:VersionSpec *
info:Changeset *
checkinNotificationInfo:CheckinNotificationInfo *
mappings:List<Mapping> -> CheckinResult
public function CreateBranch(
sourcePath : String,
targetPath : String,
version : VersionSpec,
info : Changeset,
checkinNotificationInfo : CheckinNotificationInfo,
mappings : List<Mapping>
) : CheckinResult
Parameters
- sourcePath
Type: System.String
- targetPath
Type: System.String
- checkinNotificationInfo
Type: Microsoft.TeamFoundation.VersionControl.Server.CheckinNotificationInfo
- mappings
Type: System.Collections.Generic.List<Mapping>
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Server.CheckinResult
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.