DB_SITE->close()

#include <db.h>

int
DB_SITE->close(DB_SITE *site); 

The DB_SITE->close() method deallocates the DB_SITE handle. The handle must not be accessed again after this method is called, regardless of the return value.

Use of this method does not in any way affect the configuration of the site to which the handle refers, or of the replication group in general.

All DB_SITE handles must be closed before the owning DB_ENV handle is closed.

The DB_SITE->close() method returns a non-zero error value on failure and 0 on success.

Class

DB_SITE

See Also

Replication and Related Methods