Share via


VersionControlServer.GetMergeCandidates Method (ItemSpec, String)

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 ( _
    source As ItemSpec, _
    targetPath As String _
) As MergeCandidate()
public MergeCandidate[] GetMergeCandidates(
    ItemSpec source,
    string targetPath
)
public:
array<MergeCandidate^>^ GetMergeCandidates(
    ItemSpec^ source, 
    String^ targetPath
)
member GetMergeCandidates : 
        source:ItemSpec * 
        targetPath:string -> MergeCandidate[] 
public function GetMergeCandidates(
    source : ItemSpec, 
    targetPath : String
) : MergeCandidate[]

Parameters

  • 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.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetMergeCandidates Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace