RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TADOConnection.OnInfoMessage Event

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

Pascal
property OnInfoMessage: TInfoMessageEvent;
C++
__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. 

 

ADO Connection Events

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!