<xml></xml>

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

Berkeley DB .NET API Documentation
CreatePolicy Enumeration
See Also Send Feedback

The policy for how to handle database creation.

Namespace: BerkeleyDB
Assembly: libdb_dotnet60 (in libdb_dotnet60.dll) Version: 6.0.30.0

# Syntax

C#

    public enum CreatePolicy

Visual Basic (Declaration)

    Public Enumeration CreatePolicy

Visual C++

    public enum class CreatePolicy

# Members

| Member name | Description
--- | --- | ---
| 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

BerkeleyDB Namespace