Library Version 12.1.6.0

Db::get_blob_dir()
Prev | Chapter 14. Binary Large Objects | Next

## Db::get_blob_dir()

    #include <db_cxx.h>

    int
    Db::get_blob_dir(const char **dirp);

The `Db::get_blob_dir()` method returns the directory location where blob data is stored. The default location can be set using Db::set_blob_dir(). Use this method only if the database was not opened in an environment. If the database was opened within an encompassing environment, use DbEnv::get_blob_dir() instead.

The `Db::get_blob_dir()` method always returns 0 to indicate success.

### Parameters

#### dirp

The dirp parameter references memory into which is copied the path to the BLOB data directory.

### Class

DbEnv

### See Also

BLOBs and Related Methods

Prev | Up | Next
Chapter 14. Binary Large Objects | Home | Db::get_blob_threshold()