Condividi tramite


Proprietà Exception

Gets the exception that was thrown while executing the batch.

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

Sintassi

'Dichiarazione
ReadOnly Property Exception As Exception
    Get
'Utilizzo
Dim instance As IResultInfo
Dim value As Exception

value = instance.Exception
Exception Exception { get; }
property Exception^ Exception {
    Exception^ get ();
}
abstract Exception : Exception
function get Exception () : Exception

Valore proprietà

Tipo: System. . :: . .Exception
An Exception value containing the exception that was thrown while executing the Transact-SQL batch, or nullNothingnullptrunitriferimento Null (Nothing in Visual Basic). if no exception was thrown.