API. JetSetLS, méthode
permet à l’application d’associer un handle de contexte appelé Stockage Local avec un curseur ou la table associée à ce curseur. Ce descripteur de contexte peut être utilisé par l’application pour stocker les données auxiliaires associées à un curseur ou une table. L’application est notifiée ultérieurement à l’aide d’un rappel d’exécution lorsque le handle de contexte doit être libéré. Cela permet d’associer l’État alloué dynamiquement à un curseur ou une table.
Espace de noms : Microsoft. ISAM. esent. Interop
Assembly : Microsoft. ISAM. esent. Interop (en Microsoft.Isam.Esent.Interop.dll)
Syntaxe
'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
)
Paramètres
sesid
Type : Microsoft.ISAM.esent.Interop.JET_SESIDSession à utiliser.
TableID
Type : Microsoft.ISAM.esent.Interop.JET_TABLEIDCurseur à utiliser.
ls
Type : Microsoft.ISAM.esent.Interop.JET_LSHandle de contexte à associer à la session ou au curseur.
grbit
Type : Microsoft. ISAM. esent. Interop. LsGrbitDéfinissez les options.