VersionControlServer.GetMergeCandidates Method (ItemSpec, String, MergeOptionsEx)
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, _
options As MergeOptionsEx _
) As MergeCandidate()
public MergeCandidate[] GetMergeCandidates(
ItemSpec source,
string targetPath,
MergeOptionsEx options
)
public:
array<MergeCandidate^>^ GetMergeCandidates(
ItemSpec^ source,
String^ targetPath,
MergeOptionsEx options
)
member GetMergeCandidates :
source:ItemSpec *
targetPath:string *
options:MergeOptionsEx -> MergeCandidate[]
public function GetMergeCandidates(
source : ItemSpec,
targetPath : String,
options : MergeOptionsEx
) : MergeCandidate[]
Parameters
source
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpecThe source ItemSpec for the potential merge.
targetPath
Type: System.StringThe path of the target for the potential merge.
options
Type: Microsoft.TeamFoundation.VersionControl.Common.MergeOptionsExThe options for merging.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.MergeCandidate[]
An array of MergeCandidate objects.
.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.