Api.JetDetachDatabase2 method
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
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