Data.Win.ADODB.TADOConnection.OnInfoMessage
Delphi
property OnInfoMessage: TInfoMessageEvent read FOnInfoMessage write FOnInfoMessage;
C++
__property TInfoMessageEvent OnInfoMessage = {read=FOnInfoMessage, write=FOnInfoMessage};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TADOConnection |
Description
Occurs when information messages are received from the data store connection.
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.