Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

InfoMessage Event (ADO)

The InfoMessage event is called whenever a warning occurs during a ConnectionEvent operation.

InfoMessage pError, adStatus, pConnection


An Error object. This parameter contains any errors that are returned. If multiple errors are returned, enumerate the Errors collection to find them.


An EventStatusEnum status value. If a warning occurs, adStatus is set to adStatusOK and the pError contains the warning.

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


A Connection object. The connection for which the warning occurred. For example, warnings can occur when opening a Connection object or executing a Command on a Connection.

© 2015 Microsoft