PreviousData Provider for .NET Guide (9.1 revision 1) Next

PsqlInfoMessageEventArgs Object

Show this topic in Library frames

The PsqlInfoMessageEventArgs object is passed as an input to the PsqlInfoMessageEventHandler and contains information relevant to a warning generated by the Pervasive.SQL server. The code examples include an example of using InfoMessage delegates to retrieve warning information.

Table 4-17 describes the public properties for PsqlInfoMessageEventArgs.

Table 4-17 Public Properties of PsqlInfoMessageEventArgs 
Property
Description
Errors
Specifies an PsqlErrorCollection that contains a collection of warnings sent from the Pervasive.SQL server. See PsqlErrorCollection Object for more information.
Message
Returns the text of the last message returned from the Pervasive.SQL server. The application should check the Count property of the PsqlErrorCollection returned in the Errors property of this object to determine whether multiple warnings occurred.


Chapter contents
Publication contents

Prev topic: PsqlException Object
Next topic: PsqlParameter Object