Share via


Événement ScriptingError

Raises an event when an error occurs during a scripting operation.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Event ScriptingError As ScriptingErrorEventHandler
'Utilisation
Dim instance As Scripter
Dim handler As ScriptingErrorEventHandler

AddHandler instance.ScriptingError, handler
public event ScriptingErrorEventHandler ScriptingError
public:
 event ScriptingErrorEventHandler^ ScriptingError {
    void add (ScriptingErrorEventHandler^ value);
    void remove (ScriptingErrorEventHandler^ value);
}
member ScriptingError : IEvent<ScriptingErrorEventHandler,
    ScriptingErrorEventArgs>
JScript prend en charge l'utilisation d'événements, mais pas la déclaration de nouveaux événements.