Api.JetGetLS method
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.
See also
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for