# The MongoDB\Driver\Monitoring\TopologyClosedEvent class

(mongodb >=1.13.0)

## Introducción

The MongoDB\Driver\Monitoring\TopologyClosedEvent class encapsulates information about a closed topology.

## Sinopsis de la Clase

final class MongoDB\Driver\Monitoring\TopologyClosedEvent {
/* Métodos */
final public getTopologyId(): MongoDB\BSON\ObjectId
}

## Tabla de contenidos

- MongoDB\Driver\Monitoring\TopologyClosedEvent::getTopologyId — Returns the topology ID