Share via


Api.TrySeek 메서드

커서의 검색 키와 지정된 같지 않음에 지정된 검색 조건과 일치하는 인덱스 항목에 커서를 효율적으로 배치합니다. 검색 키는 이전에 JetMakeKey를 사용하여 생성되었어야 합니다.

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

구문

'Declaration
Public Shared Function TrySeek ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    grbit As SeekGrbit _
) As Boolean
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim grbit As SeekGrbit
Dim returnValue As Boolean

returnValue = Api.TrySeek(sesid, _
    tableid, grbit)
public static bool TrySeek(
    JET_SESID sesid,
    JET_TABLEID tableid,
    SeekGrbit grbit
)

매개 변수

반환 값

형식: System.Boolean
True이면 조건과 일치하는 레코드가 발견되었습니다.

추가 정보

참조

Api 클래스

Api 멤버

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