VersionControlServer.GetMergeCandidates Method

Gets the merge candidates for merging between the requested items.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public MergeCandidate[] GetMergeCandidates (
	string sourcePath,
	string targetPath,
	RecursionType recursion
)
public MergeCandidate[] GetMergeCandidates (
	String sourcePath, 
	String targetPath, 
	RecursionType recursion
)
public function GetMergeCandidates (
	sourcePath : String, 
	targetPath : String, 
	recursion : RecursionType
) : MergeCandidate[]

Parameters

sourcePath

The local or server path of the source of the potential merge.

targetPath

The local or server path of the target of the potential merge.

recursion

A flag that indicates the merge candidates should be listed in the subfolders of the sourcePath and targetPath.

Return Value

Returns an array of MergeCandidate objects.

Only set includeDownloadInfo to true if you will download the files by using the returned objects. The call will be faster and require less bandwidth when this parameter is false. The overloaded methods set includeDownloadInfo to false.

Community Additions

ADD
Show: