ScriptingErrorEventHandler Delegate
The ScriptingErrorEventHandler class represents the event handler that is used to handle scripting errors.
Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public Delegate Sub ScriptingErrorEventHandler ( _
sender As Object, _
e As ScriptingErrorEventArgs _
)
public delegate void ScriptingErrorEventHandler (
Object sender,
ScriptingErrorEventArgs e
)
public delegate void ScriptingErrorEventHandler (
Object^ sender,
ScriptingErrorEventArgs^ e
)
/** @delegate */
public delegate void ScriptingErrorEventHandler (
Object sender,
ScriptingErrorEventArgs 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 ScriptingErrorEventArgs 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