Condividi tramite


Proprietà Error

Ottiene o imposta l'eccezione generata quando si verifica un errore nel passaggio dell'azione.

Spazio dei nomi  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Sintassi

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

Valore proprietà

Tipo: System. . :: . .Exception
Valore Exception che contiene l'errore.