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

  • delta
    Tipo: []

    Buffer contenente l'addend.

  • previousValue
    Tipo: []

    Buffer di output che riceverà il valore corrente della colonna. Questo buffer può essere Null.

  • previousValueLength
    Tipo: System.Int32

    Dimensioni del buffer precedenteValue.

  • actualPreviousValueLength
    Tipo: System.Int32

    Restituisce le dimensioni effettive del valore precedenteValue.

Vedi anche

Riferimento

Classe Api

Membri dell'API

Spazio dei nomi Microsoft.Isam.Esent.Interop