<xml></xml>

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

Berkeley DB .NET API Documentation
DatabaseEnvironment..::.CloseForceSyncAndForceSyncEnv Method
DatabaseEnvironment Class See Also Send Feedback

Close the Berkeley DB environment, freeing any allocated resources, closing any open databases as well as underlying subsystems.

Namespace: BerkeleyDB
Assembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0

# Syntax

C#

    public void CloseForceSyncAndForceSyncEnv()

Visual Basic (Declaration)

    Public Sub CloseForceSyncAndForceSyncEnv

Visual C++

    public:
    void CloseForceSyncAndForceSyncEnv()

# Remarks

The object should not be closed while any other handle that refers to it is not yet closed; for example, database environment handles must not be closed while transactions in the environment have not yet been committed or aborted. Calling CloseForceSyncAndForceSyncEnv has the effect of both CloseForceSync and CloseForceSyncEnv. See CloseForceSync and CloseForceSyncEnv documentation for more details.

# See Also

DatabaseEnvironment Class
BerkeleyDB Namespace