Api.JetCreateTable method
Create an empty table. The newly created table is opened exclusively.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: 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
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
dbid
Type: Microsoft.Isam.Esent.Interop.JET_DBIDThe database to create the table in.
table
Type: System.StringThe name of the table to create.
pages
Type: System.Int32Initial number of pages in the table.
density
Type: System.Int32The default density of the table. This is used when doing sequential inserts.
tableid
Type: Microsoft.Isam.Esent.Interop.JET_TABLEIDReturns the tableid of the new table.