Metodo Api.MakeKey (JET_SESID, JET_TABLEID, DateTime, MakeKeyGrbit)
Costruisce una chiave di ricerca che può quindi essere usata da JetSeek(JET_SESID, JET_TABLEID, SeekGrbit) e JetSetIndexRange(JET_SESID, JET_TABLEID, SetIndexRangeGrbit).
Spazio dei nomi:Microsoft.Isam.Esent.Interop
Assemblea: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Sintassi
'Declaration
Public Shared Sub MakeKey ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
data As DateTime, _
grbit As MakeKeyGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim data As DateTime
Dim grbit As MakeKeyGrbitApi.MakeKey(sesid, tableid, data, _
grbit)
public static void MakeKey(
JET_SESID sesid,
JET_TABLEID tableid,
DateTime data,
MakeKeyGrbit grbit
)
Parametri
sesid
Tipo: Microsoft.Isam.Esent.Interop.JET_SESIDSessione da utilizzare.
tableid
Tipo: Microsoft.Isam.Esent.Interop.JET_TABLEIDCursore su cui creare la chiave.
data
Tipo: System.DateTimeDati di colonna per la colonna chiave corrente dell'indice corrente.
grbit
Tipo: Microsoft.Isam.Esent.Interop.MakeKeyGrbitOpzioni chiave.