VistaDB 5






InfoMessage Event
Callback event for SQL PRINT Statements Class VistaDBConnection Class VistaDBInfoMessageEvent VistaDBInfoMessageEventEventArgs.Message
Syntax
'Declaration
 
Public Event InfoMessage As VistaDBInfoMessageEventHandler
'Usage
 
Dim instance As VistaDBConnection
Dim handler As VistaDBInfoMessageEventHandler
 
AddHandler instance.InfoMessage, handler
public event VistaDBInfoMessageEventHandler InfoMessage
public event InfoMessage: VistaDBInfoMessageEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event VistaDBInfoMessageEventHandler* InfoMessage
public:
event VistaDBInfoMessageEventHandler^ InfoMessage
Event Data

The event handler receives an argument of type VistaDBInfoMessageEventArgs containing data related to this event. The following VistaDBInfoMessageEventArgs properties provide information specific to this event.

PropertyDescription
Gets the full text of the error sent from the database. Return Value The full text of the error.  
Gets the name of the object that generated the error. Return Value The name of the object that generated the error.  
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

VistaDBConnection Class
VistaDBConnection Members
Class VistaDBConnection
Class VistaDBInfoMessageEvent
VistaDBInfoMessageEventEventArgs.Message