Evento ConnectionManager.InfoMessage
The event that occurs when the instance of SQL Server generates an informational message.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
Public Event InfoMessage As SqlInfoMessageEventHandler
'Uso
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 admite el uso de eventos, pero no la declaración de otros nuevos.
Comentarios
The event is handled by the specified event handler.