Udostępnij przez


ConnectionManager.RemoteLoginFailed Event

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

'Deklaracja
Public Event RemoteLoginFailed As ServerMessageEventHandler
public event ServerMessageEventHandler RemoteLoginFailed
public:
event ServerMessageEventHandler^ RemoteLoginFailed {
    void add (ServerMessageEventHandler^ value);
    void remove (ServerMessageEventHandler^ value);
}
/** @event */
public void add_RemoteLoginFailed (ServerMessageEventHandler value)

/** @event */
public void remove_RemoteLoginFailed (ServerMessageEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

The event is handled by the specified event handler.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.