Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.StringThe path of the source for the potential merge.
targetPath
Type: System.StringThe path of the target for the potential merge.
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeThe 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.