Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
MONGOC_CLIENT..._GET_SERVER_ID(3)   libmongoc  MONGOC_CLIENT..._GET_SERVER_ID(3)

SYNOPSIS
	uint32_t
	mongoc_client_session_get_server_id (const mongoc_client_session_t *session);

     Get  the  "server	ID" of the mongos this mongoc_client_session_t is pinned
     to.

PARAMETERS
     * session: A mongoc_client_session_t.

RETURNS
     A server ID or 0 if this mongoc_client_session_t is not pinned.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026 MONGOC_CLIENT..._GET_SERVER_ID(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_client_session_get_server_id&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help