Share via


DacActionEventArgs.Error Property

Gets or sets the exception that is thrown when an error occurs in the action step.

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

Syntax

'Declaration
Public Property Error As Exception
    Get
    Set
'Usage
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)

Property Value

Type: System.Exception
A Exception value containing the error.