Metodo Api.JetCreateTable
Creare una tabella vuota. La tabella appena creata viene aperta esclusivamente.
Spazio dei nomi:Microsoft.Isam.Esent.Interop
Assemblea: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Sintassi
'Declaration
Public Shared Sub JetCreateTable ( _
sesid As JET_SESID, _
dbid As JET_DBID, _
table As String, _
pages As Integer, _
density As Integer, _
<OutAttribute> ByRef tableid As JET_TABLEID _
)
'Usage
Dim sesid As JET_SESID
Dim dbid As JET_DBID
Dim table As String
Dim pages As Integer
Dim density As Integer
Dim tableid As JET_TABLEIDApi.JetCreateTable(sesid, dbid, _
table, pages, density, tableid)
public static void JetCreateTable(
JET_SESID sesid,
JET_DBID dbid,
string table,
int pages,
int density,
out JET_TABLEID tableid
)
Parametri
sesid
Tipo: Microsoft.Isam.Esent.Interop.JET_SESIDSessione da usare.
dbid
Tipo: Microsoft.Isam.Esent.Interop.JET_DBIDDatabase in cui creare la tabella.
table
Tipo: System.StringNome della tabella da creare.
pagine
Tipo: System.Int32Numero iniziale di pagine nella tabella.
densità
Tipo: System.Int32Densità predefinita della tabella. Questa operazione viene usata durante l'esecuzione di inserimenti sequenziali.
tableid
Tipo: Microsoft.Isam.Esent.Interop.JET_TABLEIDRestituisce l'oggetto tableid della nuova tabella.