GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MONGOC_APM_COMMAND_FAILED_GET_SERVER_CONNECTION_ID(3) libmongoc MONGOC_APM_COMMAND_FAILED_GET_SERVER_CONNECTION_ID(3)

WARNING:

Deprecated since version 1.24.0: Use mongoc_apm_command_failed_get_server_connection_id_int64() instead.



int32_t
mongoc_apm_command_failed_get_server_connection_id (

const mongoc_apm_command_failed_t *event);


Returns this event's context.

Returns the server connection ID for the command. The server connection ID is distinct from the server ID (mongoc_apm_command_failed_get_server_id()) and is returned by the hello or legacy hello response as "connectionId" from the server on 4.2+.

event: A mongoc_apm_command_failed_t.

The server connection ID as a positive integer or -1 if it is not available.

SEE ALSO:

Introduction to Application Performance Monitoring



MongoDB, Inc

2009-present, MongoDB, Inc.

July 3, 2025 1.30.4

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.