Scripter.ScriptingError Event

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

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

语法

声明
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 支持事件的使用,但不支持新事件的声明。

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Scripter Class
Scripter Members
Microsoft.SqlServer.Management.Smo Namespace