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_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0

Syntax

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

See Also