大网数据广告活动
磁盘与文件系统

CreateDatabaseGrbit enumeration

· 52CE 我爱测

Learn more about: 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

<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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 07/30/2014
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。