---
name: "mongoc_server_description_t"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_server_description_t"
---

# mongoc\_server\_description\_t(3)

Server description

## SYNOPSIS

```
#include <mongoc/mongoc.h>
typedef struct _mongoc_server_description_t mongoc_server_description_t
```

**mongoc\_server\_description\_t** holds information about a mongod or mongos the driver is connected to.

## LIFECYCLE

Clean up a **mongoc\_server\_description\_t** with *mongoc\_server\_description\_destroy()* when necessary.

Applications receive a temporary reference to a **mongoc\_server\_description\_t** as a parameter to an SDAM Monitoring callback that must not be destroyed. See *Introduction to Application Performance Monitoring*.

**SEE ALSO:**

```
mongoc_client_get_server_descriptions().
```

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
