« MongoDB\Driver\Monitoring\CommandFailedEvent::getError
MongoDB\Driver\Monitoring\CommandFailedEvent::getOperationId »

MongoDB\Driver\Monitoring\CommandFailedEvent::getHost

(mongodb >=1.20.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getHost — Returns the server hostname for the command

説明

final public function MongoDB\Driver\Monitoring\CommandFailedEvent::getHost(): string

パラメータ

この関数にはパラメータはありません。

戻り値

Returns the hostname of the server on which the command was executed.

エラー / 例外

関連キーワード:
MongoDB   Driver   Monitoring   CommandFailedEvent   server   hostname   command   getHost   getError   getOperationId   mongodb   final   executed   Throws   Exception   InvalidArgumentException   argument   parsing   errors
関連する関数・ページ:
mongodb-driver-monitoring-commandfailedevent.getport   mongodb-driver-monitoring-commandfailedevent.getcommandname   mongodb-driver-monitoring-commandfailedevent.getserverconnectionid   mongodb-driver-monitoring-commandfailedevent.geterror   mongodb-driver-monitoring-commandfailedevent.getdatabasename   mongodb-driver-monitoring-commandfailedevent.getserver