Evento ConnectionManager.InfoMessage
The event that occurs when the instance of SQL Server generates an informational message.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
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 dá suporte ao uso de eventos, mas não à declaração de eventos novos.
Comentários
The event is handled by the specified event handler.