VersionControlServer.QueryMergesWithDetails Method (String, VersionSpec, Int32, String, VersionSpec, Int32, VersionSpec, VersionSpec, RecursionType, Boolean)
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, _
showAll As Boolean _
) As ChangesetMergeDetails
public ChangesetMergeDetails QueryMergesWithDetails(
string sourcePath,
VersionSpec sourceVersion,
int sourceDeletionId,
string targetPath,
VersionSpec targetVersion,
int targetDeletionId,
VersionSpec versionFrom,
VersionSpec versionTo,
RecursionType recursion,
bool showAll
)
public:
ChangesetMergeDetails^ QueryMergesWithDetails(
String^ sourcePath,
VersionSpec^ sourceVersion,
int sourceDeletionId,
String^ targetPath,
VersionSpec^ targetVersion,
int targetDeletionId,
VersionSpec^ versionFrom,
VersionSpec^ versionTo,
RecursionType recursion,
bool showAll
)
member QueryMergesWithDetails :
sourcePath:string *
sourceVersion:VersionSpec *
sourceDeletionId:int *
targetPath:string *
targetVersion:VersionSpec *
targetDeletionId:int *
versionFrom:VersionSpec *
versionTo:VersionSpec *
recursion:RecursionType *
showAll:bool -> ChangesetMergeDetails
public function QueryMergesWithDetails(
sourcePath : String,
sourceVersion : VersionSpec,
sourceDeletionId : int,
targetPath : String,
targetVersion : VersionSpec,
targetDeletionId : int,
versionFrom : VersionSpec,
versionTo : VersionSpec,
recursion : RecursionType,
showAll : boolean
) : 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.
showAll
Type: System.BooleanTrue to include merge history of renamed items. False to not include.
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.