Api.JetGetLS 方法
使应用程序能够检索与游标关联的上下文句柄(称为“本地存储”)或与该游标关联的表。 此上下文句柄必须以前已使用 JetSetLS (JET_SESID、JET_TABLEID、JET_LS、LsGrbit) 进行设置 。 JetGetLS 还可用于同时提取游标或表的当前上下文句柄并重置该上下文句柄。
Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (
语法
'Declaration
Public Shared Sub JetGetLS ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
<OutAttribute> ByRef ls As JET_LS, _
grbit As LsGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim ls As JET_LS
Dim grbit As LsGrbitApi.JetGetLS(sesid, tableid, ls, _
grbit)
public static void JetGetLS(
JET_SESID sesid,
JET_TABLEID tableid,
out JET_LS ls,
LsGrbit grbit
)
参数
sesid
类型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的会话。
tableid
类型: Microsoft.Isam.Esent.Interop.JET_TABLEID要使用的光标。
ls
类型: Microsoft.Isam.Esent.Interop.JET_LS返回检索到的上下文句柄。
grbit
类型: Microsoft.Isam.Esent.Interop.LsGrbit检索选项。
另请参阅
参考
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈