This documentation is archived and is not being maintained.

SqlConnection Events

The events of the SqlConnection class are listed here. For a complete list of SqlConnection class members, see the SqlConnection Members topic.

Public Events

public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventInfoMessage Occurs when SQL Server returns a warning or informational message.
public eventStateChange Occurs when the state of the connection changes.

See Also

SqlConnection Class | System.Data.SqlClient Namespace