Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.