ServerConnection Events
Public Events
Name | Description | |
---|---|---|
InfoMessage |
The event that occurs when the instance of SQL Server generates an informational message.
(inherited from ConnectionManager ) |
|
RemoteLoginFailed |
This event occurs when a remote login fails to connect to the instance of SQL Server.
(inherited from ConnectionManager ) |
|
ServerMessage |
The event that occurs when the instance of SQL Server generates a message.
(inherited from ConnectionManager ) |
|
StateChange |
The event that occurs when the instance of SQL Server changes state.
(inherited from ConnectionManager ) |
|
StatementExecuted |
The event that occurs when the instance of SQL Server executes a statement on the current connection.
(inherited from ConnectionManager ) |
See Also
Reference
ServerConnection Class
Microsoft.SqlServer.Management.Common Namespace
Other Resources
How to: Connect to the Local Instance of SQL Server by Using Windows Authentication in Visual Basic .NET
Connecting to an Instance of SQL Server