RemoteLoginFailed-Ereignis
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 (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Event RemoteLoginFailed As ServerMessageEventHandler
'Usage
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 unterstützt die Verwendung von Ereignissen, aber nicht die Deklaration neuer Ereignisse.
Hinweise
The event is handled by the specified event handler.