SmoApplication.DatabaseEventHandler Delegate
The SmoApplication.DatabaseEventHandler class represents the event handler that is used to handle database events.
Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public Delegate Sub DatabaseEventHandler ( _
sender As Object, _
e As SmoEventArgs _
)
public delegate void DatabaseEventHandler (
Object sender,
SmoEventArgs e
)
public delegate void DatabaseEventHandler (
Object^ sender,
SmoEventArgs^ e
)
/** @delegate */
public delegate void DatabaseEventHandler (
Object sender,
SmoEventArgs e
)
JScript prend en charge l'utilisation de délégués, mais pas la déclaration de nouveaux délégués.
Paramètres
- sender
An Object value that specifies the source of the event.
- e
A SmoEventArgs object that contains the event data.
Notes
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Exemple
How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
Microsoft.SqlServer.Management.Smo Namespace