Open the database for reading only. Any attempt to modify items in the database will fail, regardless of the actual permissions of any underlying files.

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

Syntax

C#
public bool ReadOnly
Visual Basic (Declaration)
Public ReadOnly As Boolean
Visual C++
public:
bool ReadOnly

See Also