1MONGOC_APM_COMMAND_FAILED_MGOENTG_OSCE_RAVPEMRl__iCCbOOmMNoMNnAEgNCoDTc_IFOANI_LIEDD(_3G)ET_SERVER_CONNECTION_ID(3)
2
3
4

WARNING:

6          Deprecated  since  version  1.24.0:  This function is deprecated and
7          should not be used in new code.
8
9          Please                                                           use
10          mongoc_apm_command_failed_get_server_connection_id_int64()   in  new
11          code.
12
13

SYNOPSIS

15          int32_t
16          mongoc_apm_command_failed_get_server_connection_id (
17            const mongoc_apm_command_failed_t *event)
18            BSON_GNUC_DEPRECATED_FOR (
19                "mongoc_apm_command_failed_get_server_connection_id_int64");
20
21       Returns this event's context.
22
23       Returns the server connection ID for the command. The server connection
24       ID      is      distinct      from      the      server      ID      (‐
25       mongoc_apm_command_failed_get_server_id()) and is returned by the hello
26       or legacy hello response as "connectionId" from the server on 4.2+.
27

PARAMETERS

29event: A mongoc_apm_command_failed_t.
30

RETURNS

32       The  server  connection  ID  as  a  positive integer or -1 if it is not
33       available.
34
35       SEE ALSO:
36          Introduction to Application Performance Monitoring
37
38

AUTHOR

40       MongoDB, Inc
41
43       2017-present, MongoDB, Inc
44
45
46
47
481.25.1                   MONGOC_ANPoMv_C0O8M,MA2N0D2_3FAILED_GET_SERVER_CONNECTION_ID(3)
Impressum