VersionControlServer.QueryMerges Method (ItemSpec, VersionSpec, ItemSpec, VersionSpec, VersionSpec, VersionSpec)
Gets the merge history of the specified target 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 _
) As ChangesetMerge()
public ChangesetMerge[] QueryMerges(
ItemSpec sourceItemSpec,
VersionSpec sourceVersion,
ItemSpec targetItemSpec,
VersionSpec targetVersion,
VersionSpec versionFrom,
VersionSpec versionTo
)
public:
array<ChangesetMerge^>^ QueryMerges(
ItemSpec^ sourceItemSpec,
VersionSpec^ sourceVersion,
ItemSpec^ targetItemSpec,
VersionSpec^ targetVersion,
VersionSpec^ versionFrom,
VersionSpec^ versionTo
)
member QueryMerges :
sourceItemSpec:ItemSpec *
sourceVersion:VersionSpec *
targetItemSpec:ItemSpec *
targetVersion:VersionSpec *
versionFrom:VersionSpec *
versionTo:VersionSpec -> ChangesetMerge[]
public function QueryMerges(
sourceItemSpec : ItemSpec,
sourceVersion : VersionSpec,
targetItemSpec : ItemSpec,
targetVersion : VersionSpec,
versionFrom : VersionSpec,
versionTo : VersionSpec
) : ChangesetMerge[]
Parameters
sourceItemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpecThe ItemSpec of the optional source item.
sourceVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe VersionSpec of the optional source item.
targetItemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpecThe ItemSpec of the required target item.
targetVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe VersionSpec of the required target item.
versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecA VersionSpec denoting the earliest point of the merge history range to query. Specify null for "start of time".
versionTo
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecA VersionSpec denoting the latest point of the merge history range. Specify null for "end of time".
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ChangesetMerge[]
An array of ChangesetMerge 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.