description | title | TOCTitle | ms:assetid | ms:mtpsurl | ms:contentKeyID | ms.date | ms.topic | f1_keywords | dev_langs | api_name | topic_type | api_type | api_location | ROBOTS | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: Api.JetDetachDatabase2 method |
Api.JetDetachDatabase2 method |
JetDetachDatabase2 method |
M:Microsoft.Isam.Esent.Interop.Api.JetDetachDatabase2(Microsoft.Isam.Esent.Interop.JET_SESID,System.String,Microsoft.Isam.Esent.Interop.DetachDatabaseGrbit) |
55100685 |
07/30/2014 |
reference |
|
|
|
|
|
|
INDEX,FOLLOW |
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)
'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
)
-
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.