CreateDatabaseGrbit enumeration

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

Member name Description
None Default options.
OverwriteExisting 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.
RecoveryOff 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.

See also

Reference

Microsoft.Isam.Esent.Interop namespace