Evento ConnectionManager.RemoteLoginFailed
This event occurs when a remote login fails to connect to the instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
Public Event RemoteLoginFailed As ServerMessageEventHandler
'Uso
Dim instance As ConnectionManager
Dim handler As ServerMessageEventHandler
AddHandler instance.RemoteLoginFailed, handler
public event ServerMessageEventHandler RemoteLoginFailed
public:
event ServerMessageEventHandler^ RemoteLoginFailed {
void add (ServerMessageEventHandler^ value);
void remove (ServerMessageEventHandler^ value);
}
member RemoteLoginFailed : IEvent<ServerMessageEventHandler,
ServerMessageEventArgs>
JScript dá suporte ao uso de eventos, mas não à declaração de eventos novos.
Comentários
The event is handled by the specified event handler.