MongoDB\Driver\ServerDescription::getHost

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getHostReturns the hostname of this server

説明

finalpublicMongoDB\Driver\ServerDescription::getHost(): string

Returns the hostname of this server.

パラメータ

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

戻り値

Returns the hostname of this server.

エラー / 例外

参考

To Top