Api.JetCreateTable-Methode
Erstellen Sie eine leere Tabelle. Die neu erstellte Tabelle wird ausschließlich geöffnet.
Namespace:Microsoft.Isam.Esent.Interop
Versammlung: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'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
)
Parameter
sesid
Typ: Microsoft.Isam.Esent.Interop.JET_SESIDDie zu verwendende Sitzung.
dbid
Typ: Microsoft.Isam.Esent.Interop.JET_DBIDDie Datenbank zum Erstellen der Tabelle in.
table
Typ: System.StringDer Name der zu erstellenden Tabelle.
Seiten
Typ: System.Int32Anfängliche Anzahl von Seiten in der Tabelle.
Dichte (density)
Typ: System.Int32Die Standarddichte der Tabelle. Dies wird beim Ausführen von sequenziellen Einfügen verwendet.
tableid
Typ: Microsoft.Isam.Esent.Interop.JET_TABLEIDGibt die Tableid der neuen Tabelle zurück.