Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 supports the use of events, but not the declaration of new ones.