ServerConnection Events

Include Protected Members
Include Inherited Members

The ServerConnection type exposes the following members.

Events

  Name Description
Public event InfoMessage The event that occurs when the instance of SQL Server generates an informational message.  (Inherited from ConnectionManager.)
Public event RemoteLoginFailed This event occurs when a remote login fails to connect to the instance of SQL Server. (Inherited from ConnectionManager.)
Public event ServerMessage The event that occurs when SQL Server returns a warning or informational message on the current connection. (Inherited from ConnectionManager.)
Public event StateChange The event that occurs when the instance of SQL Server changes state.  (Inherited from ConnectionManager.)
Public event StatementExecuted The event that occurs when the instance of SQL Server executes a statement on the current connection.  (Inherited from ConnectionManager.)

Top

See Also

Reference

ServerConnection Class

Microsoft.SqlServer.Management.Common Namespace