Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the candidates for merging between the requested items.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetMergeCandidates ( _
sourcePath As String, _
targetPath As String, _
recursion As RecursionType _
) As MergeCandidate()
public MergeCandidate[] GetMergeCandidates(
string sourcePath,
string targetPath,
RecursionType recursion
)
public:
array<MergeCandidate^>^ GetMergeCandidates(
String^ sourcePath,
String^ targetPath,
RecursionType recursion
)
member GetMergeCandidates :
sourcePath:string *
targetPath:string *
recursion:RecursionType -> MergeCandidate[]
public function GetMergeCandidates(
sourcePath : String,
targetPath : String,
recursion : RecursionType
) : MergeCandidate[]
Parameters
- sourcePath
Type: System.String
The path of the source for the potential merge.
- targetPath
Type: System.String
The path of the target for the potential merge.
- recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType
The level of recursion to apply in the search.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.MergeCandidate[]
An array of MergeCandidate objects.
Remarks
sourcePath and targetPath can be either local or server paths.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.