Udostępnij przez


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

'Deklaracja
Public Event ScriptingError As ScriptingErrorEventHandler
public event ScriptingErrorEventHandler ScriptingError
public:
event ScriptingErrorEventHandler^ ScriptingError {
    void add (ScriptingErrorEventHandler^ value);
    void remove (ScriptingErrorEventHandler^ value);
}
/** @event */
public void add_ScriptingError (ScriptingErrorEventHandler value)

/** @event */
public void remove_ScriptingError (ScriptingErrorEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.