|
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.
|
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
Prev topic: PsqlException Object
|