mongoc_topology_description_type() — MongoDB C Driver 1.6.3

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

# mongoc_topology_description_type()

## Synopsis

    const char *
    mongoc_topology_description_type (const mongoc_topology_description_t *td);

## Parameters

- `td`: A mongoc_topology_description_t.

## Description

This function returns a string, one of the topology types defined in the Server Discovery And Monitoring Spec:

- Unknown
- Single
- Sharded
- ReplicaSetNoPrimary
- ReplicaSetWithPrimary

Created using Sphinx 1.5.3, based on Sphinx Readable Theme.