Événement InfoMessage
The event that occurs when the instance of SQL Server generates an informational message.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (dans Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public Event InfoMessage As SqlInfoMessageEventHandler
'Utilisation
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 prend en charge l'utilisation d'événements, mais pas la déclaration de nouveaux événements.
Notes
The event is handled by the specified event handler.