Api.JetCreateDatabase method
Creates and attaches a database file.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetCreateDatabase ( _
sesid As JET_SESID, _
database As String, _
connect As String, _
<OutAttribute> ByRef dbid As JET_DBID, _
grbit As CreateDatabaseGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim database As String
Dim connect As String
Dim dbid As JET_DBID
Dim grbit As CreateDatabaseGrbitApi.JetCreateDatabase(sesid, database, _
connect, dbid, grbit)
public static void JetCreateDatabase(
JET_SESID sesid,
string database,
string connect,
out JET_DBID dbid,
CreateDatabaseGrbit grbit
)
Parameters
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
database
Type: System.StringThe path to the database file to create.
connect
Type: System.StringThe parameter is not used.
dbid
Type: Microsoft.Isam.Esent.Interop.JET_DBIDReturns the dbid of the new database.
grbit
Type: Microsoft.Isam.Esent.Interop.CreateDatabaseGrbitDatabase creation options.
See also
Reference
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for