Share via


Propriété Error

Obtient ou définit l'exception levée lorsqu'une erreur se produit dans l'étape de l'action.

Espace de noms :  Microsoft.SqlServer.Management.Dac
Assembly :  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Syntaxe

'Déclaration
Public Property Error As Exception
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .Exception
Valeur Exception contenant l'erreur.