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
)

参数

另请参阅

参考

Api 类

Api 成员

Microsoft.Isam.Esent.Interop 命名空间