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
)
매개 변수
sesid
형식: Microsoft.Isam.Esent.Interop.JET_SESID사용할 세션입니다.
tableid
형식: Microsoft.Isam.Esent.Interop.JET_TABLEID업데이트할 커서입니다.
columnid
형식: Microsoft.Isam.Esent.Interop.JET_COLUMNID업데이트할 열입니다. 이 열은 에스크로 업데이트할 수 있는 열이어야 합니다.
delta
형식: System.Int32열에 적용할 델타입니다.
반환 값
형식: System.Int32
데이터베이스에 저장된 열의 현재 값입니다(버전 관리가 무시됨).
설명
이 메서드 는 JetEscrowUpdate(JET_SESID, JET_TABLEID, JET_COLUMNID, [], Int32, [], Int32, Int32, EscrowUpdateGrbit)를 래핑합니다.
추가 정보
참조
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기