Options for JetCreateDatabase(JET_SESID, String, String, JET_DBID, CreateDatabaseGrbit).
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration CreateDatabaseGrbit
'Usage
Dim instance As CreateDatabaseGrbit
[FlagsAttribute]
public enum CreateDatabaseGrbit
Members
<table> <thead> <tr class="header"> <th></th> <th>Member name</th> <th>Description</th> </tr> </thead> <tbody> <tr class="odd"> <td></td> <td>None</td> <td>Default options.</td> </tr> <tr class="even"> <td></td> <td>OverwriteExisting</td> <td>By default, if JetCreateDatabase is called and the database already exists, the Api call will fail and the original database will not be overwritten. OverwriteExisting changes this behavior, and the old database will be overwritten with a new one.</td> </tr> <tr class="odd"> <td></td> <td>RecoveryOff</td> <td>Turns off logging. Setting this bit loses the ability to replay log files and recover the database to a consistent usable state after a crash.</td> </tr> </tbody> </table>
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.
