Share via


Api.JetEscrowUpdate 方法

在一個資料行上執行不可部分完成的加法作業。 此函式可讓多個會話同時更新相同的記錄,而不會發生衝突。 另請參閱 EscrowUpdate (JET_SESID、JET_TABLEID、JET_COLUMNID、Int32)

Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in 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
)

參數

  • delta
    類型: []

    包含附加元件的緩衝區。

  • previousValue
    類型: []

    將接收資料行目前值的輸出緩衝區。 這個緩衝區可以是 Null。

  • previousValueLength
    類型: System.Int32

    previousValue 緩衝區的大小。

  • actualPreviousValueLength
    類型: System.Int32

    傳回 previousValue 的實際大小。

另請參閱

參考

Api 類別

Api 成員

Microsoft.Isam.Esent.Interop 命名空間