Windows7Api.JetPrereadKeys 메서드(JET_SESID, JET_TABLEID, Byte[][], Int32 , Int32, Int32, Int32, PrereadKeysGrbit)

지정된 키를 가진 레코드가 버퍼 캐시에 없는 경우 비동기 읽기를 시작하여 레코드를 데이터베이스 버퍼 캐시로 가져옵니다.

네임스페이스:Microsoft.Isam.Esent.Interop.Windows7
어셈블리: Microsoft.Isam.Esent.Interop(Microsoft.Isam.Esent.Interop.dll)

구문

'Declaration
Public Shared Sub JetPrereadKeys ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    keys As Byte()(), _
    keyLengths As Integer(), _
    keyIndex As Integer, _
    keyCount As Integer, _
    <OutAttribute> ByRef keysPreread As Integer, _
    grbit As PrereadKeysGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim keys As Byte()()
Dim keyLengths As Integer()
Dim keyIndex As Integer
Dim keyCount As Integer
Dim keysPreread As Integer
Dim grbit As PrereadKeysGrbitWindows7Api.JetPrereadKeys(sesid, tableid, _
    keys, keyLengths, keyIndex, keyCount, _
    keysPreread, grbit)
public static void JetPrereadKeys(
    JET_SESID sesid,
    JET_TABLEID tableid,
    byte[][] keys,
    int[] keyLengths,
    int keyIndex,
    int keyCount,
    out int keysPreread,
    PrereadKeysGrbit grbit
)

매개 변수


  • 형식: []

    미리 읽을 키입니다. 키를 정렬해야 합니다.

  • keyLengths
    형식: []

    미리 읽을 키의 길이입니다.

  • keyIndex
    형식: System.Int32

    읽을 키 배열의 첫 번째 키 인덱스입니다.

  • keyCount
    형식: System.Int32

    미리 읽을 최대 키 수입니다.

  • keysPreread
    형식: System.Int32

    실제로 미리 읽을 키 수를 반환합니다.

추가 정보

참조

Windows7Api 클래스

Windows7Api 멤버

JetPrereadKeys 오버로드

Microsoft.Isam.Esent.Interop.Windows7 네임스페이스