.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "MONGOC_APM_COMMAND_SUCCEEDED_GET_SERVER_CONNECTION_ID" "3" "Mar 05, 2025" "1.30.2" "libmongoc"
.sp
\fBWARNING:\fP
.INDENT 0.0
.INDENT 3.5
Deprecated since version 1.24.0: Use \fI\%mongoc_apm_command_succeeded_get_server_connection_id_int64()\fP instead.

.UNINDENT
.UNINDENT
.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
.sp
.EX
int32_t
mongoc_apm_command_succeeded_get_server_connection_id (
  const mongoc_apm_command_succeeded_t *event);
.EE
.UNINDENT
.UNINDENT
.sp
Returns the server connection ID for the command. The server connection ID is
distinct from the server ID
(\fI\%mongoc_apm_command_succeeded_get_server_id()\fP) and is returned by the
hello or legacy hello response as \(dqconnectionId\(dq from the server on 4.2+.
.SH PARAMETERS
.INDENT 0.0
.IP \(bu 2
\fBevent\fP: A \fI\%mongoc_apm_command_succeeded_t\fP\&.
.UNINDENT
.SH RETURNS
.sp
The server connection ID as a positive integer or \-1 if it is not available.
.sp
\fBSEE ALSO:\fP
.INDENT 0.0
.INDENT 3.5
.nf
\fI\%Introduction to Application Performance Monitoring\fP
.fi
.sp
.UNINDENT
.UNINDENT
.SH AUTHOR
MongoDB, Inc
.SH COPYRIGHT
2009-present, MongoDB, Inc.
.\" Generated by docutils manpage writer.
.