Metode Api.JetCreateDatabase
Membuat dan melampirkan file database.
Namespace:Microsoft.Isam.Esent.Interop
Majelis: Microsoft.Isam.Esent.Interop (dalam Microsoft.Isam.Esent.Interop.dll)
Sintaks
'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
)
Parameter
sesid
Jenis: Microsoft.Isam.Esent.Interop.JET_SESIDSesi yang akan digunakan.
database
Jenis: System.StringJalur ke file database yang akan dibuat.
hubungkan
Jenis: System.StringParameter tidak digunakan.
dbid
Jenis: Microsoft.Isam.Esent.Interop.JET_DBIDMengembalikan dbid database baru.
grbit
Jenis: Microsoft.Isam.Esent.Interop.CreateDatabaseGrbitOpsi pembuatan database.