DbEnv::rep_get_limit()
Prev | Chapter 11. Replication Methods | Next

## DbEnv::rep_get_limit()

    #include <db_cxx.h>

    int
    DbEnv::rep_get_limit(u_int32_t *gbytesp, u_int32_t *bytesp);

The `DbEnv::rep_get_limit()` method returns the byte-count limit on the amount of data that will be transmitted from a site in response to a single message processed by the DbEnv::rep_process_message() method. This value is configurable using the DbEnv::rep_set_limit() method.

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

The `DbEnv::rep_get_limit()` 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

#### bytesp

The bytesp parameter references memory into which the bytes component of the current transmission limit is copied.

#### gbytesp

The gbytesp parameter references memory into which the gigabytes component of the current transmission limit is copied.

### Class

DbEnv

### See Also

Replication and Related Methods, DbEnv::rep_set_limit()

Prev | Up | Next
DbEnv::rep_get_config() | Home | DbEnv::rep_get_nsites()