Share via


Api.JetGetLock 메서드

행을 업데이트하거나, 잠금을 쓰거나, 행이 다른 세션인 읽기 잠금에 의해 업데이트되지 않도록 명시적으로 방지하는 기능을 명시적으로 예약합니다. 일반적으로 행 쓰기 잠금은 행 업데이트의 결과로 암시적으로 획득됩니다. 일반적으로 레코드 버전 관리로 인해 읽기 잠금이 필요하지 않습니다. 그러나 경우에 따라 트랜잭션은 직렬화를 적용하거나 후속 작업이 성공하도록 행을 명시적으로 잠그려고 할 수 있습니다.

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

구문

'Declaration
Public Shared Sub JetGetLock ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    grbit As GetLockGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim grbit As GetLockGrbitApi.JetGetLock(sesid, tableid, grbit)
public static void JetGetLock(
    JET_SESID sesid,
    JET_TABLEID tableid,
    GetLockGrbit grbit
)

매개 변수

추가 정보

참조

Api 클래스

Api 멤버

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