次の方法で共有


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 値です。