Share via


Api.EscrowUpdate 메서드

한 열에서 원자성 추가를 수행합니다. 열은 Long 형식이어야 합니다. 이 함수를 사용하면 여러 세션에서 충돌 없이 동일한 레코드를 동시에 업데이트할 수 있습니다.

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

구문

'Declaration
Public Shared Function EscrowUpdate ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    columnid As JET_COLUMNID, _
    delta As Integer _
) As Integer
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim columnid As JET_COLUMNID
Dim delta As Integer
Dim returnValue As Integer

returnValue = Api.EscrowUpdate(sesid, _
    tableid, columnid, delta)
public static int EscrowUpdate(
    JET_SESID sesid,
    JET_TABLEID tableid,
    JET_COLUMNID columnid,
    int delta
)

매개 변수

  • delta
    형식: System.Int32

    열에 적용할 델타입니다.

반환 값

형식: System.Int32
데이터베이스에 저장된 열의 현재 값입니다(버전 관리가 무시됨).

설명

이 메서드 는 JetEscrowUpdate(JET_SESID, JET_TABLEID, JET_COLUMNID, [], Int32, [], Int32, Int32, EscrowUpdateGrbit)를 래핑합니다.

추가 정보

참조

Api 클래스

Api 멤버

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