MongoDB\Driver\Monitoring\ServerChangedEvent::getHost

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\ServerChangedEvent::getHostReturns the hostname of the server

Descripción

final public MongoDB\Driver\Monitoring\ServerChangedEvent::getHost(): string

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Returns the hostname of the server.

Errores/Excepciones

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top