Share via


ScriptingErrorEventArgs.InnerException Property

Gets the exception instance that caused the current exception.

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

Syntax

'Declaration
Public ReadOnly Property InnerException As Exception 
    Get
'Usage
Dim instance As ScriptingErrorEventArgs 
Dim value As Exception 

value = instance.InnerException
public Exception InnerException { get; }
public:
property Exception^ InnerException {
    Exception^ get ();
}
member InnerException : Exception
function get InnerException () : Exception

Property Value

Type: System.Exception
An Exception system object value that specifies the exception instance that caused the current exception.

Examples

Handling SMO Events

See Also

Reference

ScriptingErrorEventArgs Class

Microsoft.SqlServer.Management.Smo Namespace