Evento ConnectionManager.InfoMessage
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
'Utilizzo
Dim instance As ConnectionManager
Dim handler As SqlInfoMessageEventHandler
AddHandler instance.InfoMessage, handler
public event SqlInfoMessageEventHandler InfoMessage
public:
event SqlInfoMessageEventHandler^ InfoMessage {
void add (SqlInfoMessageEventHandler^ value);
void remove (SqlInfoMessageEventHandler^ value);
}
member InfoMessage : IEvent<SqlInfoMessageEventHandler,
SqlInfoMessageEventArgs>
JScript supporta l'utilizzo di eventi, ma non la dichiarazione di nuovi eventi.
Osservazioni
The event is handled by the specified event handler.