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

Gets the merge history for a specific item and version range.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public IEnumerable<ExtendedMerge> QueryMergesExtended(
	ItemSpec targetItemSpec,
	VersionSpec targetVersion,
	VersionSpec versionFrom,
	VersionSpec versionTo
)

Parameters

targetItemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec

The ItemSpec of the target item of the merge.

targetVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec

The VersionSpec of the target item.

versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec

A VersionSpec denoting the earliest point of the merge history range to 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 to query. Specify null for "end of time".

Return Value

Type: System.Collections.Generic.IEnumerable<ExtendedMerge>
A set of ExtendedMerge objects for the specified item and version range.

The result of this method is the set of changes as ExtendedMerge objects which contain the source of the merge (item, version, deletionId, and change), as well as the changeset details. The changeset is not a completed object. Only the owner, committer, date, comment, and changesetId are filled in. No items, release notes or other data.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft