Error 属性

获取或设置操作步骤中发生错误时引发的异常。

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

语法

声明
Public Property Error As Exception
    Get
    Set
用法
Dim instance As DacActionEventArgs
Dim value As Exception

value = instance.Error

instance.Error = value
public Exception Error { get; set; }
public:
property Exception^ Error {
    Exception^ get ();
    void set (Exception^ value);
}
member Error : Exception with get, set
function get Error () : Exception
function set Error (value : Exception)

属性值

类型:System. . :: . .Exception
一个包含错误的 Exception 值。