« MongoDB\Driver\ServerDescription::getRoundTripTime
MongoDB\Driver\TopologyDescription »

MongoDB\Driver\ServerDescription::getType

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getType — Returns a string denoting the type of this server

説明

final public function MongoDB\Driver\ServerDescription::getType(): string

Returns a string denoting the type of this server. The value will correlate with a MongoDB\Driver\ServerDescription constant.

パラメータ

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

戻り値

Returns a string denoting the type of this server.

エラー / 例外

参考

関連キーワード:
MongoDB   Driver   denoting   type   server   ServerDescription   getType   getRoundTripTime   TopologyDescription   mongodb   final   correlate   constant   Throws   Exception   InvalidArgumentException   argument   parsing   errors   参考   Server   integer
関連する関数・ページ:
mongodb-driver-server.gettype   mongodb-driver-server.getserverdescription   mongodb-driver-topologydescription.gettype   mongodb-driver-serverdescription.gethost   class.mongodb-driver-serverdescription   mongodb-driver-serverdescription.getport