Export (0) Print
Expand All

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

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,
	QueryMergesExtendedOptions options
)

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".

options
Type: Microsoft.TeamFoundation.VersionControl.Common.QueryMergesExtendedOptions

Options for the query.

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.

Show:
© 2014 Microsoft