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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- 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.Framework.Server.TeamFoundationDataReader
.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.