RAD Studio VCL Reference
TADOConnection.OnInfoMessage Event

Occurs when information messages are received from the data store connection.

property OnInfoMessage: TInfoMessageEvent;
__property TInfoMessageEvent OnInfoMessage;

Write an OnInfoMessage event handler to take specific action after an information message is received from a database connection. This event occurs when a connection event successfully completes and additional information is returned by the provider. 

Error is an ADO Error object. See the Microsoft Data Access SDK for more information on using ADO Error objects. The Error parameter is only set if an error occurred during execution of the operation that triggered the event. In this case, the EventStatus parameter will contain the indicating value esErrorsOccured. 

The EventStatus value (ADO EventStatusEnum) indicates the success or failure of the execution of the operation that triggered the event. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!