mongoc_uri_get_replica_set() — MongoDB C Driver 1.6.3

- MongoDB C Driver 1.6.3 »
- API Reference »
- mongoc_uri_t

# mongoc_uri_get_replica_set()

## Synopsis

    const char *
    mongoc_uri_get_replica_set (const mongoc_uri_t *uri);

## Parameters

- `uri`: A mongoc_uri_t.

## Description

Fetches the `replicaSet` parameter of an URI.

## Returns

Returns a string which should not be modified or freed.

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.