MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescriptionReturns the previous description for the server

說明

final public MongoDB\Driver\Monitoring\ServerChangedEvent::getPreviousDescription(): MongoDB\Driver\ServerDescription

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the previous MongoDB\Driver\ServerDescription for the server.

錯誤/異常