Api.IntersectIndexes method
Intersect a group of index ranges and return the bookmarks of the records which are found in all the index ranges. Also see JetIntersectIndexes(JET_SESID, [], Int32, JET_RECORDLIST, IntersectIndexesGrbit).
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Function IntersectIndexes ( _
sesid As JET_SESID, _
ParamArray tableids As JET_TABLEID() _
) As IEnumerable(Of Byte())
'Usage
Dim sesid As JET_SESID
Dim tableids As JET_TABLEID()
Dim returnValue As IEnumerable(Of Byte())
returnValue = Api.IntersectIndexes(sesid, _
tableids)
public static IEnumerable<byte[]> IntersectIndexes(
JET_SESID sesid,
params JET_TABLEID[] tableids
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
tableids
Type: []The tableids to use. Each tableid must be from a different index on the same table and have an active index range. Use JetSetIndexRange(JET_SESID, JET_TABLEID, SetIndexRangeGrbit) to create an index range.
Return value
Type: System.Collections.Generic.IEnumerable<[]>
The bookmarks of the records which are found in all the index ranges. The bookmarks are returned in primary key order.
See also
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for