api.JetUpdate 方法 (JET_SESID、JET_TABLEID)
JetUpdate 函数执行更新操作,包括将新行插入表中或更新现有行。 通过调用 JetDelete (JET_SESID 执行 删除表行,JET_TABLEID) 。
Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (
语法
'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
)
参数
sesid
类型: Microsoft.Isam.Esent.Interop.JET_SESID启动更新的会话。
tableid
类型: Microsoft.Isam.Esent.Interop.JET_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 期间更新。
另请参阅
参考
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈