Releases a database file that was previously attached to a database session.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Sub JetDetachDatabase2 ( _
sesid As JET_SESID, _
database As String, _
grbit As DetachDatabaseGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim database As String
Dim grbit As DetachDatabaseGrbitApi.JetDetachDatabase2(sesid, database, _
grbit)
public static void JetDetachDatabase2(
JET_SESID sesid,
string database,
DetachDatabaseGrbit grbit
)
Parameters
-
sesid
Type: Microsoft.Isam.Esent.Interop.JET_SESIDThe database session to use.
-
database
Type: System.StringThe database to detach.
-
grbit
Type: Microsoft.Isam.Esent.Interop.DetachDatabaseGrbitDetach options.
See also
Reference
Microsoft.Isam.Esent.Interop namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
