System.Data.SqlClient.SqlInfoMessageEventArgs Class

Provides data for the SqlConnection.InfoMessage event.

See Also: SqlInfoMessageEventArgs Members

Syntax

public sealed class SqlInfoMessageEventArgs : EventArgs

Remarks

The SqlConnection.InfoMessage event contains a System.Data.SqlClient.SqlErrorCollection collection which contains the warnings sent from the server.

An SqlConnection.InfoMessage event is generated when a SQL Server message with a severity level of 10 or less occurs.

Requirements

Namespace: System.Data.SqlClient
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0