Api.JetCloseDatabase method

Closes a database file that was previously opened with JetOpenDatabase(JET_SESID, String, String, JET_DBID, OpenDatabaseGrbit) or created with JetCreateDatabase(JET_SESID, String, String, JET_DBID, CreateDatabaseGrbit).

Namespace:  Microsoft.Isam.Esent.Interop
Assembly:  Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

Syntax

'Declaration
Public Shared Sub JetCloseDatabase ( _
    sesid As JET_SESID, _
    dbid As JET_DBID, _
    grbit As CloseDatabaseGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim dbid As JET_DBID
Dim grbit As CloseDatabaseGrbitApi.JetCloseDatabase(sesid, dbid, _
    grbit)
public static void JetCloseDatabase(
    JET_SESID sesid,
    JET_DBID dbid,
    CloseDatabaseGrbit grbit
)

Parameters

See also

Reference

Api class

Api members

Microsoft.Isam.Esent.Interop namespace