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
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe session to use.
dbid
Type: Microsoft.Isam.Esent.Interop.JET_DBIDThe database to close.
grbit
Type: Microsoft.Isam.Esent.Interop.CloseDatabaseGrbitClose 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