array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'mongodb-driver-monitoring-commandfailedevent.getserver.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandFailedEvent::getServer', 2 => 'Returns the Server on which the command was executed', ), 'up' => array ( 0 => 'class.mongodb-driver-monitoring-commandfailedevent.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandFailedEvent', ), 'prev' => array ( 0 => 'mongodb-driver-monitoring-commandfailedevent.getrequestid.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandFailedEvent::getRequestId', ), 'next' => array ( 0 => 'mongodb-driver-monitoring-commandfailedevent.getserverconnectionid.php', 1 => 'MongoDB\\Driver\\Monitoring\\CommandFailedEvent::getServerConnectionId', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/monitoring/commandfailedevent/getserver.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandFailedEvent::getServer — Returns the Server on which the command was executed
This method has been DEPRECATED as of extension version 1.20.0 and was removed in 2.0. Applications should use MongoDB\Driver\Monitoring\CommandFailedEvent::getHost() and MongoDB\Driver\Monitoring\CommandFailedEvent::getPort() instead.
Returns the MongoDB\Driver\Server on which the command was executed.
Questa funzione non contiene parametri.
Returns the MongoDB\Driver\Server on which the command was executed.
Versione | Descrizione |
---|---|
PECL mongodb 2.0.0 | This method was removed. |