dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnection Class / Error Event

In This Topic
    Error Event (SqlConnection)
    In This Topic
    Occurs when SQL Server returns an error.
    Syntax
    'Declaration
     
    Public Event Error As SqlConnectionErrorEventHandler
    public event SqlConnectionErrorEventHandler Error
    Remarks

    Clients that want to process errors sent by the server should create a Devart.Data.SqlServer.SqlErrorEventHandler delegate to listen to this event.

    See Also

    Reference

    SqlConnection Class
    SqlConnection Members
    Devart.Data.SqlServer.SqlErrorEventArgs
    Devart.Data.SqlServer.SqlErrorEventHandler
    InfoMessage Event