VersionControlServer.QueryMerges Method (ItemSpec, VersionSpec, ItemSpec, VersionSpec, VersionSpec, VersionSpec, Boolean)

Gets the merge history of the requested item with an optional source.

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

Syntax

'Declaration
Public Function QueryMerges ( _
    sourceItemSpec As ItemSpec, _
    sourceVersion As VersionSpec, _
    targetItemSpec As ItemSpec, _
    targetVersion As VersionSpec, _
    versionFrom As VersionSpec, _
    versionTo As VersionSpec, _
    showAll As Boolean _
) As ChangesetMerge()
public ChangesetMerge[] QueryMerges(
    ItemSpec sourceItemSpec,
    VersionSpec sourceVersion,
    ItemSpec targetItemSpec,
    VersionSpec targetVersion,
    VersionSpec versionFrom,
    VersionSpec versionTo,
    bool showAll
)
public:
array<ChangesetMerge^>^ QueryMerges(
    ItemSpec^ sourceItemSpec, 
    VersionSpec^ sourceVersion, 
    ItemSpec^ targetItemSpec, 
    VersionSpec^ targetVersion, 
    VersionSpec^ versionFrom, 
    VersionSpec^ versionTo, 
    bool showAll
)
member QueryMerges : 
        sourceItemSpec:ItemSpec * 
        sourceVersion:VersionSpec * 
        targetItemSpec:ItemSpec * 
        targetVersion:VersionSpec * 
        versionFrom:VersionSpec * 
        versionTo:VersionSpec * 
        showAll:bool -> ChangesetMerge[] 
public function QueryMerges(
    sourceItemSpec : ItemSpec, 
    sourceVersion : VersionSpec, 
    targetItemSpec : ItemSpec, 
    targetVersion : VersionSpec, 
    versionFrom : VersionSpec, 
    versionTo : VersionSpec, 
    showAll : boolean
) : ChangesetMerge[]

Parameters

  • showAll
    Type: System.Boolean

    True to include merge history of renamed items. False to not include.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.ChangesetMerge[]
An array of ChangesetMerge objects.

.NET Framework Security

See Also

Reference

VersionControlServer Class

QueryMerges Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace