Append a record to the log
Namespace:
BerkeleyDBAssembly: libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0
Syntax
C# |
---|
public LSN LogWrite( DatabaseEntry dbt, bool flush ) |
Visual Basic (Declaration) |
---|
Public Function LogWrite ( _ dbt As DatabaseEntry, _ flush As Boolean _ ) As LSN |
Visual C++ |
---|
public: LSN^ LogWrite( DatabaseEntry^ dbt, bool flush ) |
Parameters
- dbt
- Type: BerkeleyDB..::.DatabaseEntry
The record to write to the log.
- flush
- Type: System..::.Boolean
If true, the log is forced to disk after this record is written, guaranteeing that all records with LSN values less than or equal to the one being "put" are on disk before LogWrite returns.