Aracılığıyla paylaş


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

'Bildirim
Public Event RemoteLoginFailed As ServerMessageEventHandler
'Kullanım
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 supports the use of events, but not the declaration of new ones.

Remarks

The event is handled by the specified event handler.

See Also

Reference

ConnectionManager Class

Microsoft.SqlServer.Management.Common Namespace