#include <db_cxx.h> int DbSite::get_eid(int *eidp);
The DbSite::get_eid()
method returns a
replication site's environment ID (EID). This method may not be
called before opening the database environment.
The DbSite::get_eid()
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.
The DbSite::get_eid()
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: