Méthode API. MakeKey (JET_SESID, JET_TABLEID, UInt64, MakeKeyGrbit)
Construit une clé de recherche qui peut ensuite être utilisée par JetSeek (JET_SESID, JET_TABLEID, SeekGrbit) et JetSetIndexRange (JET_SESID, JET_TABLEID, SetIndexRangeGrbit).
Cette API n’est pas conforme CLS.
Espace de noms : Microsoft. ISAM. esent. Interop
Assembly : Microsoft. ISAM. esent. Interop (en Microsoft.Isam.Esent.Interop.dll)
Syntaxe
'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Sub MakeKey ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
data As ULong, _
grbit As MakeKeyGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim data As ULong
Dim grbit As MakeKeyGrbitApi.MakeKey(sesid, tableid, data, _
grbit)
[CLSCompliantAttribute(false)]
public static void MakeKey(
JET_SESID sesid,
JET_TABLEID tableid,
ulong data,
MakeKeyGrbit grbit
)
Paramètres
sesid
Type : Microsoft.ISAM.esent.Interop.JET_SESIDSession à utiliser.
TableID
Type : Microsoft.ISAM.esent.Interop.JET_TABLEIDCurseur sur lequel créer la clé.
data
Type : System. UInt64Données de colonne pour la colonne clé actuelle de l’index actuel.
grbit
Type : Microsoft. ISAM. esent. Interop. MakeKeyGrbitOptions de clé.