Condividi tramite


Evento ScriptingError

Reports that an error occurred during the scripting process.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Sintassi

'Dichiarazione
Public Event ScriptingError As ScriptingErrorEventHandler
'Utilizzo
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 supporta l'utilizzo di eventi, ma non la dichiarazione di nuovi eventi.