Metodo Api.JetEscrowUpdate
Esegue un'operazione di aggiunta atomica su una colonna. Questa funzione consente a più sessioni di aggiornare simultaneamente lo stesso record senza conflitti. Vedere anche EscrowUpdate(JET_SESID, JET_TABLEID, JET_COLUMNID, Int32).
Spazio dei nomi:Microsoft.Isam.Esent.Interop
Assemblea: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Sintassi
'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
)
Parametri
sesid
Tipo: Microsoft.Isam.Esent.Interop.JET_SESIDSessione da usare. La sessione deve trovarsi in una transazione.
tableid
Tipo: Microsoft.Isam.Esent.Interop.JET_TABLEIDCursore da aggiornare.
columnid
Tipo: Microsoft.Isam.Esent.Interop.JET_COLUMNIDColonna da aggiornare. Deve trattarsi di una colonna aggiornabile di escrow.
delta
Tipo: []Buffer contenente l'addend.
deltaSize
Tipo: System.Int32Dimensione dell'addend.
previousValue
Tipo: []Buffer di output che riceverà il valore corrente della colonna. Questo buffer può essere Null.
previousValueLength
Tipo: System.Int32Dimensioni del buffer precedenteValue.
actualPreviousValueLength
Tipo: System.Int32Restituisce le dimensioni effettive del valore precedenteValue.
grbit
Tipo: Microsoft.Isam.Esent.Interop.EscrowUpdateGrbitOpzioni di aggiornamento di escrow.
Vedi anche
Riferimento
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per