Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Merges the source to the target.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function Merge ( _
sourcePath As String, _
targetPath As String, _
versionFrom As VersionSpec, _
versionTo As VersionSpec _
) As GetStatus
public GetStatus Merge(
string sourcePath,
string targetPath,
VersionSpec versionFrom,
VersionSpec versionTo
)
public:
GetStatus^ Merge(
String^ sourcePath,
String^ targetPath,
VersionSpec^ versionFrom,
VersionSpec^ versionTo
)
member Merge :
sourcePath:string *
targetPath:string *
versionFrom:VersionSpec *
versionTo:VersionSpec -> GetStatus
public function Merge(
sourcePath : String,
targetPath : String,
versionFrom : VersionSpec,
versionTo : VersionSpec
) : GetStatus
Parameters
- sourcePath
Type: System.String
The source path of the merge.
- targetPath
Type: System.String
The target path of the merge.
- versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The starting version. May be null.
- versionTo
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The ending version. May be null.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.GetStatus
A GetStatus object that indicates how many operations, conflicts, errors, and so forth occurred while the Get operation was being processed.
Remarks
The target path of the merge must be mapped.
.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.