MongoDB\Driver\Monitoring\ServerClosedEvent::getHost

(mongodb >=1.13.0)

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

Descripción

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Returns the hostname of the server.

Errores/Excepciones

add a note

User Contributed Notes

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