VersionControlServer.QueryMerges Method (ItemSpec, VersionSpec, ItemSpec, VersionSpec, VersionSpec, VersionSpec)

Gets the merge history 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)

public ChangesetMerge[] QueryMerges(
	ItemSpec sourceItemSpec,
	VersionSpec sourceVersion,
	ItemSpec targetItemSpec,
	VersionSpec targetVersion,
	VersionSpec versionFrom,
	VersionSpec versionTo
)

Parameters

sourceItemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec
The ItemSpec of the optional source item.
sourceVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The VersionSpec of the optional source item.
targetItemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec
The ItemSpec of the required target item.
targetVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The VersionSpec of the required target item.
versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
A VersionSpec denoting the earliest point of the merge history range o query. Specify null for "start of time".
versionTo
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
A VersionSpec denoting the latest point of the merge history range. Specify null for "end of time".

Community Additions

ADD
Show: