Occurs if a SQL Server info message was generated.
property OnInfoMessage: TMSConnectionInfoMessageEvent;
The OnInfoMessage event occurs in case of generation of a SQL Server info message. The event occurs only if the command is executed through a dataset descendant (TMSQuery, TMSStoredProc). To make this event occur for TMSScript, TMSScript.DataSet should be set. It does not work for TMSSQL. The following is the list of Transact-SQL commands that generate info messages:
RAISERROR with a severity of 10 or lower