Occurs when the SQL Anywhere database server returns a warning or informational message.
Visual Basic Public Event InfoMessage As SAInfoMessageEventHandler
C# public event SAInfoMessageEventHandler InfoMessage ;
The event handler receives an argument of type SaInfoMessageEventArgs containing data related to this event. The following SAaInfoMessageEventArgs properties provide information specific to this event: NativeError, Errors, Message, MessageType, and Source.
For more information, see the .NET Framework documentation for OleDbConnection.InfoMessage Event.
MessageType Returns the type of the message. This can be one of: Action, Info, Status, or Warning.
Errors Returns the collection of messages sent from the data source.
Message Returns the full text of the error sent from the data source.
Source Returns the name of the SQL Anywhere .NET Data Provider.
NativeError Returns the SQL code returned by the database.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |