Library Version 12.1.6.2

DB->get_env()
Prev | Chapter 5. The DB_ENV Handle | Next

## DB->get_env()

    #include <db.h>

    DB_ENV *
    DB->get_env(DB *db);

The `DB->get_env()` method returns the handle for the database environment underlying the database.

The `DB->get_env()` method may be called at any time during the life of the application.

### Class

DB

### See Also

Database and Related Methods

Prev | Up | Next
DB_ENV->get_encrypt_flags() | Home | DB_ENV->get_errfile()