---
name: "mongoc_apm_server_closed_get_topology_id"
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_apm_server_closed_get_topology_id"
---

# mongoc\_apm\_server\_closed\_get\_topology\_id(3)

## SYNOPSIS

```
void
mongoc_apm_server_closed_get_topology_id (
   const mongoc_apm_server_closed_t *event, bson_oid_t *topology_id);
```

Returns this event's topology id.

## PARAMETERS

- •

  **event**: A *mongoc\_apm\_server\_closed\_t*.

- •

  **topology\_id**: A *bson\_oid\_t* to receive the event's topology\_id.

## RETURNS

The event's topology id.

**SEE ALSO:**

```
Introduction to Application Performance Monitoring
```

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
