Événement RemoteLoginFailed
This event occurs when a remote login fails to connect to the instance of SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public Event RemoteLoginFailed As ServerMessageEventHandler
'Utilisation
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 prend en charge l'utilisation d'événements, mais pas la déclaration de nouveaux événements.
Notes
The event is handled by the specified event handler.