mongoc_topology_description_type man page

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

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

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐11‐07 MongoDB C Driver