php8.5
Home/ Manual/ monitoring / serverclosedevent/ MongoDB\Driver\Monitoring\ServerClosedEvent::getTopologyId

MongoDB\Driver\Monitoring\ServerClosedEvent::getTopologyId

PHP function Edit on GitHub ✎

(mongodb >=1.13.0)

Returns the topology ID associated with this server

Description

MongoDB\Driver\Monitoring\ServerClosedEvent::getTopologyId(): MongoDB\BSON\ObjectId

Parameters Parameters

Return Values

Returns the topology ID.

Errors/Exceptions

Source: reference/mongodb/mongodb/driver/monitoring/serverclosedevent/gettopologyid.xml · from the official PHP manual (php/doc-en)