Condividi tramite


ConnectionManager.InfoMessage Event

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

Spazio dei nomi: Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Sintassi

'Dichiarazione
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 non supporta la dichiarazione di nuovi eventi ma ne supporta l'utilizzo.

Osservazioni

The event is handled by the specified event handler.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

ConnectionManager Class
ConnectionManager Members
Microsoft.SqlServer.Management.Common Namespace