Propriedade LastException

Gets the most recent exception generated by the asynchronous process.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (em Microsoft.SqlServer.SmoExtended.dll)

Sintaxe

'Declaração
Public ReadOnly Property LastException As Exception
    Get
'Uso
Dim instance As AsyncStatus
Dim value As Exception

value = instance.LastException
public Exception LastException { get; }
public:
property Exception^ LastException {
    Exception^ get ();
}
member LastException : Exception
function get LastException () : Exception

Valor da propriedade

Tipo: System. . :: . .Exception
An Exception system object that specifies the most recent exception generated by the asynchronous process.