共用方式為


ScriptingError 事件

Reports that an error occurred during the scripting process.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
Public Event ScriptingError As ScriptingErrorEventHandler
'用途
Dim instance As Transfer
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 支援事件的使用,但不支援新事件的宣告。

範例

傳送資料