Freigeben über


ScriptingError-Ereignis

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Event ScriptingError As ScriptingErrorEventHandler
'Usage
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 unterstützt die Verwendung von Ereignissen, aber nicht die Deklaration neuer Ereignisse.