Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables the application to retrieve the context handle known as Local Storage that is associated with a cursor or the table associated with that cursor. This context handle must have been previously set using JetSetLS(JET_SESID, JET_TABLEID, JET_LS, LsGrbit). JetGetLS can also be used to simultaneously fetch the current context handle for a cursor or table and reset that context handle.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'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
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDThe cursor to use.
ls
Type: Microsoft.Isam.Esent.Interop.JET_LSReturns the retrieved context handle.
grbit
Type: Microsoft.Isam.Esent.Interop.LsGrbitRetrieve options.