(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerChangedEvent::getTopologyId — Returns the topology ID associated with this server
此函數(shù)沒有參數(shù)。
Returns the topology ID.