ScriptingErrorEventArgs Class

The ScriptingErrorEventArgs object provides programmatic access to the arguments used to report the errors that occur during scripting operations.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.Smo.ScriptingErrorEventArgs

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Class ScriptingErrorEventArgs _
    Inherits EventArgs
'Usage
Dim instance As ScriptingErrorEventArgs
public class ScriptingErrorEventArgs : EventArgs
public ref class ScriptingErrorEventArgs : public EventArgs
type ScriptingErrorEventArgs =  
    class 
        inherit EventArgs 
    end
public class ScriptingErrorEventArgs extends EventArgs

The ScriptingErrorEventArgs type exposes the following members.

Properties

  Name Description
Public property Current Gets the Urn object value that specifies the object that the operation is currently processing.
Public property InnerException Gets the exception instance that caused the current exception.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Examples

Handling SMO Events

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace