dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2Connection Class / InfoMessage Event

In This Topic
    InfoMessage Event
    In This Topic
    Occurs when DB2 returns a warning or informational message.
    Syntax
    'Declaration
     
    Public Event InfoMessage As DB2InfoMessageEventHandler
    public event DB2InfoMessageEventHandler InfoMessage
    Event Data

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

    PropertyDescription
    Gets the collection of warning messages sent from the database.  
    Always returns "Devart dotConnect for DB2".  
    Remarks

    Clients that want to process warnings or informational messages sent by the server should create a DB2InfoMessageEventHandler delegate to listen to this event.

    See Also