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..::.ForceFlush Property
DatabaseEnvironment Class See Also Send Feedback

If true, flush database writes to the backing disk before returning from the write system call, rather than flushing database writes explicitly in a separate system call, as necessary.

Namespace: BerkeleyDB
Assembly: libdb_dotnet60 (in libdb_dotnet60.dll) Version: 6.0.20.0

# Syntax

C#
    public bool ForceFlush { get; set; }

Visual Basic (Declaration)
    Public Property ForceFlush As Boolean

Visual C++
    public:
    property bool ForceFlush {
    	bool get ();
    	void set (bool value);
    }

# Remarks

This flag may result in inaccurate file modification times and other file-level information for Berkeley DB database files. This flag will almost certainly result in a performance decrease on most systems.

# See Also

DatabaseEnvironment Class
BerkeleyDB Namespace