Scripter.ScriptingError Event
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
'Bildirim
Public Event ScriptingError As ScriptingErrorEventHandler
'Kullanım
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.