Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
DatabaseEnvironment..::.LogFlush Method (LSN)
DatabaseEnvironment Class See Also

Write log records to disk.

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

# Syntax

C#
    public void LogFlush(
    	LSN logSeqNum
    )

Visual Basic (Declaration)
    Public Sub LogFlush ( _
    	logSeqNum As LSN _
    )

Visual C++
    public:
    void LogFlush(
    	LSN^ logSeqNum
    )

#### Parameters

logSeqNum
  Type: BerkeleyDB..::.LSN
  All log records with LSN values less than or equal to logSeqNum are written to disk. If null, all records in the log are flushed.

# See Also

DatabaseEnvironment Class
LogFlush Overload
BerkeleyDB Namespace