다음을 통해 공유


VersionControlServer.GetMergeCandidates Method (String, String, RecursionType)

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

‘선언
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.

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

See Also

Reference

VersionControlServer Class

GetMergeCandidates Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace