MongoDB\Driver\ServerDescription::getHost

(mongodb >=1.13.0)

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

Beschreibung

final public MongoDB\Driver\ServerDescription::getHost(): string

Returns the hostname of this server.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Returns the hostname of this server.

Fehler/Exceptions

Siehe auch