ScriptingError Evento
Raises an event when an error occurs during a scripting operation.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Event ScriptingError As ScriptingErrorEventHandler
'Uso
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 admite el uso de eventos, pero no la declaración de otros nuevos.
Vea también