DbMpoolFile::get_lsn_offset()
Prev | Chapter 9. The DbMpoolFile Handle | Next

## DbMpoolFile::get_lsn_offset()

    #include <db_cxx.h>

    int
    DbMpoolFile::get_lsn_offset(int32_t *lsn_offsetp);

The `DbMpoolFile::get_lsn_offset()` method returns the log sequence number byte offset configured for a file's pages using the DbMpoolFile::set_lsn_offset() method.

The `DbMpoolFile::get_lsn_offset()` method may be called at any time during the life of the application.

The `DbMpoolFile::get_lsn_offset()` 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.

### Parameters

#### lsn_offsetp

The `DbMpoolFile::get_lsn_offset()` method returns the log sequence number byte offset in lsn_offsetp.

### Class

DbEnv, DbMpoolFile

### See Also

Memory Pools and Related Methods, DbMpoolFile::set_lsn_offset()

Prev | Up | Next
DbMpoolFile::get_ftype() | Home | DbMpoolFile::get_maxsize()