Discard the database stream.

It is possible for the Close() method to throw a DatabaseException if there is any failure.

After Close has been called, regardless of its result, the database stream handle cannot be used again. Always close the stream when you have finished accessing the external file.

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

Syntax

C#
public void Close()
Visual Basic (Declaration)
Public Sub Close
Visual C++
public:
void Close()

Exceptions

See Also