End the transaction.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.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