#include <db_cxx.h> int DbSequence::set_flags(u_int32_t flags);
Configure a sequence. The flags are only effective when creating a
sequence. Calling DbSequence::set_flags()
is additive; there is no
way to clear flags.
The DbSequence::set_flags()
method may not be called after the
DbSequence::open()
method is called.
The DbSequence::set_flags()
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 flags parameter must be set to 0 or by bitwise inclusively OR'ing together one or more of the following values:
The DbSequence::set_flags()
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: