VersionControlServer.QueryMergesWithDetails Method (String, VersionSpec, Int32, String, VersionSpec, Int32, VersionSpec, VersionSpec, RecursionType)
Gets the merge history with details of the specified target item with an optional source.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function QueryMergesWithDetails ( _
sourcePath As String, _
sourceVersion As VersionSpec, _
sourceDeletionId As Integer, _
targetPath As String, _
targetVersion As VersionSpec, _
targetDeletionId As Integer, _
versionFrom As VersionSpec, _
versionTo As VersionSpec, _
recursion As RecursionType _
) As ChangesetMergeDetails
public ChangesetMergeDetails QueryMergesWithDetails(
string sourcePath,
VersionSpec sourceVersion,
int sourceDeletionId,
string targetPath,
VersionSpec targetVersion,
int targetDeletionId,
VersionSpec versionFrom,
VersionSpec versionTo,
RecursionType recursion
)
public:
ChangesetMergeDetails^ QueryMergesWithDetails(
String^ sourcePath,
VersionSpec^ sourceVersion,
int sourceDeletionId,
String^ targetPath,
VersionSpec^ targetVersion,
int targetDeletionId,
VersionSpec^ versionFrom,
VersionSpec^ versionTo,
RecursionType recursion
)
member QueryMergesWithDetails :
sourcePath:string *
sourceVersion:VersionSpec *
sourceDeletionId:int *
targetPath:string *
targetVersion:VersionSpec *
targetDeletionId:int *
versionFrom:VersionSpec *
versionTo:VersionSpec *
recursion:RecursionType -> ChangesetMergeDetails
public function QueryMergesWithDetails(
sourcePath : String,
sourceVersion : VersionSpec,
sourceDeletionId : int,
targetPath : String,
targetVersion : VersionSpec,
targetDeletionId : int,
versionFrom : VersionSpec,
versionTo : VersionSpec,
recursion : RecursionType
) : ChangesetMergeDetails
Parameters
sourcePath
Type: System.StringThe local or server path of the optional source item.
sourceVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe VersionSpec of the optional source item.
sourceDeletionId
Type: System.Int32The deletion ID of the optional source item.
targetPath
Type: System.StringThe local or server path of the required target item.
targetVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe VersionSpec of the required target item.
targetDeletionId
Type: System.Int32The deletion ID of the target item.
versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecA VersionSpec denoting the earliest point of the merge history range to query. Specify null for "start of time".
versionTo
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecA VersionSpec denoting the latest point of the merge history range to query. Specify null for "end of time".
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeThe level of recursion applied to the target search.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.ChangesetMergeDetails
ChangesetMergeDetails object.
.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.