VersionControlServer.QueryMergesExtended Method (ItemSpec, VersionSpec, VersionSpec, VersionSpec, QueryMergesExtendedOptions)

Gets the merge history for a specific item and version range.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)


Public Function QueryMergesExtended ( _
    targetItemSpec As ItemSpec, _
    targetVersion As VersionSpec, _
    versionFrom As VersionSpec, _
    versionTo As VersionSpec, _
    options As QueryMergesExtendedOptions _
) As IEnumerable(Of ExtendedMerge)
public IEnumerable<ExtendedMerge> QueryMergesExtended(
    ItemSpec targetItemSpec,
    VersionSpec targetVersion,
    VersionSpec versionFrom,
    VersionSpec versionTo,
    QueryMergesExtendedOptions options
IEnumerable<ExtendedMerge^>^ QueryMergesExtended(
    ItemSpec^ targetItemSpec, 
    VersionSpec^ targetVersion, 
    VersionSpec^ versionFrom, 
    VersionSpec^ versionTo, 
    QueryMergesExtendedOptions options
member QueryMergesExtended : 
        targetItemSpec:ItemSpec * 
        targetVersion:VersionSpec * 
        versionFrom:VersionSpec * 
        versionTo:VersionSpec * 
        options:QueryMergesExtendedOptions -> IEnumerable<ExtendedMerge> 
public function QueryMergesExtended(
    targetItemSpec : ItemSpec, 
    targetVersion : VersionSpec, 
    versionFrom : VersionSpec, 
    versionTo : VersionSpec, 
    options : QueryMergesExtendedOptions
) : IEnumerable<ExtendedMerge>


Return Value

Type: System.Collections.Generic.IEnumerable<ExtendedMerge>
A set of ExtendedMerge objects for the specified item and version range.


The result of this method is the set of changes as ExtendedMerge objects which contain the source of the merge (item, version, deletionId, and change), as well as the changeset details. The changeset is not a completed object. Only the owner, committer, date, comment, and changesetId are filled in. No items, release notes, or other data.

.NET Framework Security

See Also


VersionControlServer Class

QueryMergesExtended Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace