Compartir a través de


Evento RemoteLoginFailed

This event occurs when a remote login fails to connect to the instance of SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Common
Ensamblado:  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxis

'Declaración
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 admite el uso de eventos, pero no la declaración de otros nuevos.

Comentarios

The event is handled by the specified event handler.