Enables the application to associate a context handle known as Local Storage with a cursor or the table associated with that cursor. This context handle can be used by the application to store auxiliary data that is associated with a cursor or table. The application is later notified using a runtime callback when the context handle must be released. This makes it possible to associate dynamically allocated state with a cursor or table.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetSetLS ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
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.JetSetLS(sesid, tableid, ls, _
grbit)
public static void JetSetLS(
JET_SESID sesid,
JET_TABLEID tableid,
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_LSThe context handle to be associated with the session or cursor.
-
grbit
Type: Microsoft.Isam.Esent.Interop.LsGrbitSet options.
See also
Reference
Microsoft.Isam.Esent.Interop namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
