Udostępnij przez


ConnectionManager.InfoMessage Event

The event that occurs when the instance of SQL Server generates an informational message.

Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntax

'Deklaracja
Public Event InfoMessage As SqlInfoMessageEventHandler
public event SqlInfoMessageEventHandler InfoMessage
public:
event SqlInfoMessageEventHandler^ InfoMessage {
    void add (SqlInfoMessageEventHandler^ value);
    void remove (SqlInfoMessageEventHandler^ value);
}
/** @event */
public void add_InfoMessage (SqlInfoMessageEventHandler value)

/** @event */
public void remove_InfoMessage (SqlInfoMessageEventHandler 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.