The policy for how to handle database creation.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0

Syntax

C#
public enum CreatePolicy
Visual Basic (Declaration)
Public Enumeration CreatePolicy
Visual C++
public enum class CreatePolicy

Members

Member nameDescription
NEVER
Never create the database.
IF_NEEDED
Create the database if it does not already exist.
ALWAYS
Do not open the database and return an error if it already exists.

See Also