End the transaction.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

Syntax

C#
public void Commit(
	bool syncLog
)
Visual Basic (Declaration)
Public Sub Commit ( _
	syncLog As Boolean _
)
Visual C++
public:
void Commit(
	bool syncLog
)

Parameters

syncLog
Type: System..::.Boolean
If true, synchronously flush the log.

Remarks

Synchronously flushing the log is the default for Berkeley DB environments unless TxnNoSync was specified. Synchronous log flushing may also be set or unset for a single transaction using BeginTransaction()()(). The value of syncLog overrides both of those settings.

See Also