DbEnv::get_home()

#include <db_cxx.h>

int
DbEnv::get_home(const char **homep); 

The DbEnv::get_home() method returns the database environment home directory. This directory is normally identified when the DbEnv::open() method is called.

The DbEnv::get_home() method may be called at any time during the life of the application.

The DbEnv::get_home() method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.

Class

DbEnv

See Also

Database Environments and Related Methods