共用方式為


Windows8Api.JetPrereadIndexRanges 方法

如果具有指定索引鍵範圍的記錄不在緩衝區快取中,請啟動非同步讀取,以將記錄帶入資料庫緩衝區快取。

Namespace:Microsoft.Isam.Esent.Interop.Windows8
裝配: microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

語法

'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
)

參數

  • indexRanges
    類型: []

    要預先讀取的索引鍵範圍。

  • rangeIndex
    類型: System.Int32

    要讀取之陣列中第一個索引鍵範圍的索引。

  • rangeCount
    類型: System.Int32

    要預先讀取的索引鍵範圍數目上限。

  • rangesPreread
    類型: System.Int32

    傳回實際預先讀取的索引鍵數目。

  • columnsPreread
    類型: []

    要預先讀取之長數值資料行的資料行識別碼清單。

另請參閱

參考

Windows8Api 類別

Windows8Api 成員

Microsoft.Isam.Esent.Interop.Windows8 命名空間