description | title | TOCTitle | ms:assetid | ms:mtpsurl | ms:contentKeyID | ms.date | ms.topic | f1_keywords | dev_langs | api_name | topic_type | api_type | api_location | ROBOTS | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: Api.JetIntersectIndexes method |
Api.JetIntersectIndexes method |
JetIntersectIndexes method |
M:Microsoft.Isam.Esent.Interop.Api.JetIntersectIndexes(Microsoft.Isam.Esent.Interop.JET_SESID,Microsoft.Isam.Esent.Interop.JET_INDEXRANGE[],System.Int32,Microsoft.Isam.Esent.Interop.JET_RECORDLIST@,Microsoft.Isam.Esent.Interop.IntersectIndexesGrbit) |
55100761 |
07/30/2014 |
reference |
|
|
|
|
|
|
INDEX,FOLLOW |
Computes the intersection between multiple sets of index entries from different secondary indices over the same table. This operation is useful for finding the set of records in a table that match two or more criteria that can be expressed using index ranges. Also see IntersectIndexes(JET_SESID, []).
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
'Declaration
Public Shared Sub JetIntersectIndexes ( _
sesid As JET_SESID, _
ranges As JET_INDEXRANGE(), _
numRanges As Integer, _
<OutAttribute> ByRef recordlist As JET_RECORDLIST, _
grbit As IntersectIndexesGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim ranges As JET_INDEXRANGE()
Dim numRanges As Integer
Dim recordlist As JET_RECORDLIST
Dim grbit As IntersectIndexesGrbitApi.JetIntersectIndexes(sesid, _
ranges, numRanges, recordlist, grbit)
public static void JetIntersectIndexes(
JET_SESID sesid,
JET_INDEXRANGE[] ranges,
int numRanges,
out JET_RECORDLIST recordlist,
IntersectIndexesGrbit grbit
)
-
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
-
ranges
Type: []An the index ranges to intersect. The tableids in the ranges must have index ranges set on them. Use JetSetIndexRange(JET_SESID, JET_TABLEID, SetIndexRangeGrbit) to create an index range.
-
numRanges
Type: System.Int32The number of index ranges.
-
recordlist
Type: Microsoft.Isam.Esent.Interop.JET_RECORDLISTReturns information about the temporary table containing the intersection results.
-
grbit
Type: Microsoft.Isam.Esent.Interop.IntersectIndexesGrbitIntersection options.