Edit

Share via


Windows8Api.JetPrereadIndexRanges method

If the records with the specified key ranges are not in the buffer cache, then start asynchronous reads to bring the records into the database buffer cache.

Namespace:  Microsoft.Isam.Esent.Interop.Windows8
Assembly:  Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

Syntax

'Declaration
Public Shared Sub JetPrereadIndexRanges ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    indexRanges As JET_INDEX_RANGE(), _
    rangeIndex As Integer, _
    rangeCount As Integer, _
    <OutAttribute> ByRef rangesPreread As Integer, _
    columnsPreread As JET_COLUMNID(), _
    grbit As PrereadIndexRangesGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim indexRanges As JET_INDEX_RANGE()
Dim rangeIndex As Integer
Dim rangeCount As Integer
Dim rangesPreread As Integer
Dim columnsPreread As JET_COLUMNID()
Dim grbit As PrereadIndexRangesGrbitWindows8Api.JetPrereadIndexRanges(sesid, _
    tableid, indexRanges, rangeIndex, _
    rangeCount, rangesPreread, columnsPreread, _
    grbit)
public static void JetPrereadIndexRanges(
    JET_SESID sesid,
    JET_TABLEID tableid,
    JET_INDEX_RANGE[] indexRanges,
    int rangeIndex,
    int rangeCount,
    out int rangesPreread,
    JET_COLUMNID[] columnsPreread,
    PrereadIndexRangesGrbit grbit
)

Parameters

  • indexRanges
    Type: []

    The key ranges to preread.

  • rangeIndex
    Type: System.Int32

    The index of the first key range in the array to read.

  • rangeCount
    Type: System.Int32

    The maximum number of key ranges to preread.

  • rangesPreread
    Type: System.Int32

    Returns the number of keys actually preread.

  • columnsPreread
    Type: []

    List of column ids for long value columns to preread.

See also

Reference

Windows8Api class

Windows8Api members

Microsoft.Isam.Esent.Interop.Windows8 namespace