Share via


Api.EscrowUpdate 方法

对一列执行原子添加。 列的类型必须为 Long。 此函数允许多个会话同时更新同一记录,而不会发生冲突。

Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (

语法

'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
)

parameters

返回值

类型: System.Int32
存储在数据库中的列的当前值 (版本控制将被忽略) 。

备注

此方法包装 JetEscrowUpdate (JET_SESID、JET_TABLEID、JET_COLUMNID、[]、Int32、[]、Int32、Int32、Int32、EscrowUpdateGrbit)

另请参阅

参考

Api 类

Api 成员

Microsoft.Isam.Esent.Interop 命名空间