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

CommitTransactionGrbit enumeration

· 52CE 我爱测

Learn more about: CommitTransactionGrbit enumeration

Options for JetCommitTransaction.

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 CommitTransactionGrbit
'Usage
Dim instance As CommitTransactionGrbit
[FlagsAttribute]
public enum CommitTransactionGrbit

Members

Member name Description
None Default options.
LazyFlush The transaction is committed normally but this Api does not wait for the transaction to be flushed to the transaction log file before returning to the caller. This drastically reduces the duration of a commit operation at the cost of durability. Any transaction that is not flushed to the log before a crash will be automatically aborted during crash recovery during the next call to JetInit. If WaitLastLevel0Commit or WaitAllLevel0Commit are specified, this option is ignored.
WaitLastLevel0Commit If the session has previously committed any transactions and they have not yet been flushed to the transaction log file, they should be flushed immediately. This Api will wait until the transactions have been flushed before returning to the caller. This is useful if the application has previously committed several transactions using JET_bitCommitLazyFlush and now wants to flush all of them to disk.This option may be used even if the session is not currently in a transaction. This option cannot be used in combination with any other option.

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)

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

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