Api.JetSetIndexRange method
Temporarily limits the set of index entries that the cursor can walk using JetMove(JET_SESID, JET_TABLEID, Int32, MoveGrbit) to those starting from the current index entry and ending at the index entry that matches the search criteria specified by the search key in that cursor and the specified bound criteria. A search key must have been previously constructed using JetMakeKey(JET_SESID, JET_TABLEID, [], Int32, MakeKeyGrbit). Also see TrySetIndexRange(JET_SESID, JET_TABLEID, SetIndexRangeGrbit).
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetSetIndexRange ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
grbit As SetIndexRangeGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim grbit As SetIndexRangeGrbitApi.JetSetIndexRange(sesid, tableid, _
grbit)
public static void JetSetIndexRange(
JET_SESID sesid,
JET_TABLEID tableid,
SetIndexRangeGrbit grbit
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDThe cursor to set the index range on.
grbit
Type: Microsoft.Isam.Esent.Interop.SetIndexRangeGrbitIndex range options.