Compartilhar via


Propriedade do RDL Exception

Gets the exception that was thrown while executing the Transact-SQL batch.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (em Microsoft.SqlServer.Management.MultiServerConnection.dll)

Sintaxe

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

value = instance.Exception
public Exception Exception { get; }
public:
virtual property Exception^ Exception {
    Exception^ get () sealed;
}
abstract Exception : Exception
override Exception : Exception
final function get Exception () : Exception

Valor da propriedade

Tipo: System. . :: . .Exception
The exception thrown during the Transact-SQL execution.

Implementa

IResultInfo. . :: . .Exception