Evento ConnectionManager.RemoteLoginFailed
This event occurs when a remote login fails to connect to the instance of SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Sintassi
'Dichiarazione
Public Event RemoteLoginFailed As ServerMessageEventHandler
'Utilizzo
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 supporta l'utilizzo di eventi, ma non la dichiarazione di nuovi eventi.
Osservazioni
The event is handled by the specified event handler.