Db::get_partition_dirs()

#include <db_cxx.h>

int
Db::get_partition_dirs(const char ***dirsp); 

Identify the directories used to store the database partitions.

The Db::get_partition_dirs() method may be called at any time.

The Db::get_partition_dirs() 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.

Parameters

dirsp

The dirsp will be set to the array of directories specified in the call to Db::set_partition_dirs() method on this handle or to the directoreies that the database partitions were found in after Db::open() has been called.

Errors

The Db::get_partition_dirs() method may fail and throw a DbException exception, encapsulating one of the following non-zero errors, or return one of the following non-zero errors:

EINVAL

An invalid flag value or parameter was specified.

Class

Db

See Also

Database and Related Methods