Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
QueryMerges Method (String, VersionSpec, String, VersionSpec, VersionSpec, VersionSpec, RecursionType)

VersionControlServer.QueryMerges Method (String, VersionSpec, String, VersionSpec, VersionSpec, VersionSpec, RecursionType)

Gets the merge history of the requested item with an optional source.

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

public ChangesetMerge[] QueryMerges(
	string sourcePath,
	VersionSpec sourceVersion,
	string targetPath,
	VersionSpec targetVersion,
	VersionSpec versionFrom,
	VersionSpec versionTo,
	RecursionType recursion
)

Parameters

sourcePath
Type: System.String

The local or server path to the optional source item.

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

The VersionSpec of the optional source item.

targetPath
Type: System.String

The local or server path to 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 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. Specify null for "end of time".

recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType

The level of recursion applied to the target search.

Show:
© 2015 Microsoft