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)
Syntax
'Declaração
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
)
public:
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>
Parameters
- targetItemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec
The ItemSpec of the target item of the merge.
- targetVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The VersionSpec of the target item.
- versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
A VersionSpec denoting the earliest point of the merge history range to query. Specify null for "start of time".
- versionTo
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
A VersionSpec denoting the latest point of the merge history range to query. Specify null for "end of time".
- options
Type: Microsoft.TeamFoundation.VersionControl.Common.QueryMergesExtendedOptions
Options for the query.
Return Value
Type: System.Collections.Generic.IEnumerable<ExtendedMerge>
A set of ExtendedMerge objects for the specified item and version range.
Remarks
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
- 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.