API. JetGetLS, méthode
permet à l’application de récupérer le descripteur de contexte connu sous le nom de Stockage Local qui est associé à un curseur ou à la table associée à ce curseur. Ce descripteur de contexte doit avoir été défini précédemment à l’aide de JetSetLS (JET_SESID, JET_TABLEID, JET_LS, LsGrbit). JetGetLS peut également être utilisé pour extraire simultanément le descripteur de contexte actuel d’un curseur ou d’une table et réinitialiser ce handle de contexte.
Espace de noms : Microsoft. ISAM. esent. Interop
Assembly : Microsoft. ISAM. esent. Interop (en Microsoft.Isam.Esent.Interop.dll)
Syntaxe
'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
)
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_LSRetourne le handle de contexte récupéré.
grbit
Type : Microsoft. ISAM. esent. Interop. LsGrbitRécupérez les options.