#include <db_cxx.h> int DbEnv::get_metadata_dir(const char **dirp);
The DbEnv::get_metadata_dir()
method
returns
the directory where persistent metadata is stored. This location
can be set using the
DbEnv::set_metadata_dir()
method.
The DbEnv::get_metadata_dir()
directory may
be called at any time during the life of the application.
The DbEnv::get_metadata_dir()
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.