Api.JetEscrowUpdate 메서드
한 열에서 원자성 추가 작업을 수행합니다. 이 함수를 사용하면 여러 세션에서 충돌 없이 동일한 레코드를 동시에 업데이트할 수 있습니다. 또한 EscrowUpdate(JET_SESID, JET_TABLEID, JET_COLUMNID, Int32)를 참조하세요.
네임스페이스:Microsoft.Isam.Esent.Interop
어셈블리: Microsoft.Isam.Esent.Interop(Microsoft.Isam.Esent.Interop.dll)
구문
'Declaration
Public Shared Sub JetEscrowUpdate ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
columnid As JET_COLUMNID, _
delta As Byte(), _
deltaSize As Integer, _
previousValue As Byte(), _
previousValueLength As Integer, _
<OutAttribute> ByRef actualPreviousValueLength As Integer, _
grbit As EscrowUpdateGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim columnid As JET_COLUMNID
Dim delta As Byte()
Dim deltaSize As Integer
Dim previousValue As Byte()
Dim previousValueLength As Integer
Dim actualPreviousValueLength As Integer
Dim grbit As EscrowUpdateGrbitApi.JetEscrowUpdate(sesid, tableid, _
columnid, delta, deltaSize, previousValue, _
previousValueLength, actualPreviousValueLength, _
grbit)
public static void JetEscrowUpdate(
JET_SESID sesid,
JET_TABLEID tableid,
JET_COLUMNID columnid,
byte[] delta,
int deltaSize,
byte[] previousValue,
int previousValueLength,
out int actualPreviousValueLength,
EscrowUpdateGrbit grbit
)
매개 변수
sesid
형식: Microsoft.Isam.Esent.Interop.JET_SESID사용할 세션입니다. 세션은 트랜잭션에 있어야 합니다.
tableid
형식: Microsoft.Isam.Esent.Interop.JET_TABLEID업데이트할 커서입니다.
columnid
형식: Microsoft.Isam.Esent.Interop.JET_COLUMNID업데이트할 열입니다. 이 열은 에스크로 업데이트할 수 있는 열이어야 합니다.
delta
형식: []추가를 포함하는 버퍼입니다.
deltaSize
형식: System.Int32추가의 크기입니다.
previousValue
형식: []열의 현재 값을 받을 출력 버퍼입니다. 이 버퍼는 null일 수 있습니다.
previousValueLength
형식: System.Int32previousValue 버퍼의 크기입니다.
actualPreviousValueLength
형식: System.Int32previousValue의 실제 크기를 반환합니다.
grbit
형식: Microsoft.Isam.Esent.Interop.EscrowUpdateGrbit에스크로 업데이트 옵션.
추가 정보
참조
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기