Api.EscrowUpdate 方法
在一個資料行上執行不可部分完成的加法。 資料行的類型必須為 Long。 此函式允許多個會話同時更新相同的記錄,而不會發生衝突。
Namespace:Microsoft.Isam.Esent.Interop
裝配: microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
語法
'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
)
參數
sesid
類型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的會話。
tableid
類型: Microsoft.Isam.Esent.Interop.JET_TABLEID要更新的資料指標。
columnid
類型: Microsoft.Isam.Esent.Interop.JET_COLUMNID要更新的資料行。 這必須是可委付可更新的資料行。
delta
類型: System.Int32要套用至資料行的差異。
傳回值
類型: System.Int32
) 忽略儲存在資料庫 (版本設定中之資料行的目前值。
備註
此方法會包裝 JetEscrowUpdate (JET_SESID、JET_TABLEID、JET_COLUMNID、[]、Int32、[]、Int32、Int32、Int32、EscrowUpdateGrbit) 。
另請參閱
參考
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應