API. JetSetCurrentIndex2, méthode
Définit l’index actuel d’un curseur.
Espace de noms : Microsoft. ISAM. esent. Interop
Assembly : Microsoft. ISAM. esent. Interop (en Microsoft.Isam.Esent.Interop.dll)
Syntaxe
'Declaration
Public Shared Sub JetSetCurrentIndex2 ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
index As String, _
grbit As SetCurrentIndexGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim index As String
Dim grbit As SetCurrentIndexGrbitApi.JetSetCurrentIndex2(sesid, _
tableid, index, grbit)
public static void JetSetCurrentIndex2(
JET_SESID sesid,
JET_TABLEID tableid,
string index,
SetCurrentIndexGrbit grbit
)
Paramètres
sesid
Type : Microsoft.ISAM.esent.Interop.JET_SESIDSession à utiliser.
TableID
Type : Microsoft.ISAM.esent.Interop.JET_TABLEIDCurseur sur lequel définir l’index.
index
Type : System. StringNom de l’index à sélectionner. Si la valeur est null ou vide, l’index primaire est sélectionné.
grbit
Type : Microsoft. ISAM. esent. Interop. SetCurrentIndexGrbitDéfinissez les options d’index.