Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

VersionControlServer.QueryMerges Method

Queries 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
)
public ChangesetMerge[] QueryMerges (
	String sourcePath, 
	VersionSpec sourceVersion, 
	String targetPath, 
	VersionSpec targetVersion, 
	VersionSpec versionFrom, 
	VersionSpec versionTo, 
	RecursionType recursion
)
public function QueryMerges (
	sourcePath : String, 
	sourceVersion : VersionSpec, 
	targetPath : String, 
	targetVersion : VersionSpec, 
	versionFrom : VersionSpec, 
	versionTo : VersionSpec, 
	recursion : RecursionType
) : ChangesetMerge[]

Parameters

sourcePath

The local or server path of the optional source item.

sourceVersion

The version of the optional source specification.

targetPath

The local or server path of the required target item.

targetVersion

The version of the required target specification.

versionFrom

Start of the merge history range. Use a null reference (Nothing in Visual Basic) for "start of time"; only date, latest, and changeset version specifications are supported by the server.

versionTo

End of the merge history range. Use a null reference (Nothing in Visual Basic) for "end of time"; only date, latest, and changeset version specifications are supported by the server.

recursion

The RecursionType to apply to the target search.

Return Value

An array of ChangesetMerge objects.

Community Additions

ADD
Show:
© 2015 Microsoft