InfoMessage (ConnectionEvent) Method (ADO)

   

This method is called whenever a ConnectionEvent operation completes successfully and additional information is returned by a provider.

Syntax

InfoMessage pError, adStatus, pConnection

Parameters

pError   An Error object. It describes the error that occurred if the value of adStatus is adStatusErrorsOccurred; otherwise it is not set. Multiple warnings can be returned, which can be found by enumerating the Errors collection.

adStatus   An EventStatusEnum status value. When this method is called, this parameter is set to adStatusOK if the operation that caused the event was successful, or adStatusErrorsOccurred if the operation failed.

Before this method returns, set this parameter to adStatusUnwantedEvent to prevent subsequent notifications.

pConnection   A Connection object. The connection on which the command was executed.