ScriptingErrorEventArgs.InnerException 属性

Gets the exception instance that caused the current exception.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public ReadOnly Property InnerException As Exception 
    Get
用法
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

属性值

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

示例

处理 SMO 事件

请参阅

参考

ScriptingErrorEventArgs 类

Microsoft.SqlServer.Management.Smo 命名空间