mongoc_uri_get_srv_service_name()#

Synopsis#

const char *
mongoc_uri_get_srv_service_name (const mongoc_uri_t *uri);

Parameters#

Description#

Returns the SRV service name of a MongoDB URI.

Returns#

A string corresponding to the value of the srvServiceName URI option if present. Otherwise, the default value “mongodb”.