1MONGOC_URI_GET_SRV_SERVICE_NAME(3) libmongocMONGOC_URI_GET_SRV_SERVICE_NAME(3)
23
4
SYNOPSIS
6const char *
7mongoc_uri_get_srv_service_name (const mongoc_uri_t *uri);
8
PARAMETERS
10• uri: A mongoc_uri_t.
11
DESCRIPTION
13Returns the SRV service name of a MongoDB URI.
14
RETURNS
16A string corresponding to the value of the srvServiceName URI option if
17present. Otherwise, the default value "mongodb".
18
AUTHOR
20MongoDB, Inc
21
COPYRIGHT
232017-present, MongoDB, Inc
2425
26
27
28
1.25.1 Nov 08, 2023MONGOC_URI_GET_SRV_SERVICE_NAME(3)