Событие ConnectionManager.RemoteLoginFailed
This event occurs when a remote login fails to connect to the instance of SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Common
Сборка: Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)
Синтаксис
'Декларация
Public Event RemoteLoginFailed As ServerMessageEventHandler
'Применение
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 поддерживает использование событий, но не объявление новых.
Замечания
The event is handled by the specified event handler.