Share via


Api.JetUpdate 方法 (JET_SESID,JET_TABLEID)

JetUpdate 函式會執行更新作業,包括將新資料列插入資料表或更新現有的資料列。 刪除資料表資料列是藉由呼叫 JetDelete (JET_SESID 來執行,JET_TABLEID)

Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

語法

'Declaration
Public Shared Sub JetUpdate ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEIDApi.JetUpdate(sesid, tableid)
public static void JetUpdate(
    JET_SESID sesid,
    JET_TABLEID tableid
)

參數

備註

JetUpdate 是執行插入或更新的最後一個步驟。 更新是從呼叫 JetPrepareUpdate (JET_SESID、JET_TABLEID、JET_prep) ,然後呼叫 JetSetColumn (JET_SESID、JET_TABLEID、JET_COLUMNID、[]、Int32、SetColumnGrbit,JET_SETINFO) 一或多次來設定記錄狀態。 最後,會呼叫 JetUpdate (JET_SESID、JET_TABLEID、[]、Int32、Int32) 來完成更新作業。 索引只會由 JetUpdate 更新,而不是在 JetSetColumn 期間更新。

另請參閱

參考

Api 類別

Api 成員

JetUpdate 多載

Microsoft.Isam.Esent.Interop 命名空間