Metodo Api.JetCreateIndex
Crea un indice sui dati in un database ESE. Un indice può essere usato per individuare rapidamente dati specifici.
Spazio dei nomi:Microsoft.Isam.Esent.Interop
Assemblea: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Sintassi
'Declaration
Public Shared Sub JetCreateIndex ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
indexName As String, _
grbit As CreateIndexGrbit, _
keyDescription As String, _
keyDescriptionLength As Integer, _
density As Integer _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim indexName As String
Dim grbit As CreateIndexGrbit
Dim keyDescription As String
Dim keyDescriptionLength As Integer
Dim density As IntegerApi.JetCreateIndex(sesid, tableid, _
indexName, grbit, keyDescription, _
keyDescriptionLength, density)
public static void JetCreateIndex(
JET_SESID sesid,
JET_TABLEID tableid,
string indexName,
CreateIndexGrbit grbit,
string keyDescription,
int keyDescriptionLength,
int density
)
Parametri
sesid
Tipo: Microsoft.Isam.Esent.Interop.JET_SESIDSessione da usare.
tableid
Tipo: Microsoft.Isam.Esent.Interop.JET_TABLEIDTabella in cui creare l'indice.
indexName
Tipo: System.StringPuntatore a una stringa con terminazione null che specifica il nome dell'indice da creare.
grbit
Tipo: Microsoft.Isam.Esent.Interop.CreateIndexGrbitOpzioni di creazione dell'indice.
keyDescription
Tipo: System.StringPuntatore a una stringa con terminazione null doppia di token delimitati da null.
keyDescriptionLength
Tipo: System.Int32Lunghezza, in caratteri, di szKey tra cui i due valori Null terminanti.
densità
Tipo: System.Int32Densità dell'albero B+ iniziale.
Vedi anche
Riferimento
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per