#include <db_cxx.h> int Db::get_slices(Db ***slicepp);
The Db::get_slices()
method returns a
NULL-terminated array of slice databases. Each element in the
array represents one slice. Note that you should not explicitly
close these database handles; each slice database is automatically
closed when the parent database handle is closed.
The Db::get_slices()
method may be
called at any time during the life of the application.
The Db::get_slices()
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.