Свойство Exception

Gets the exception that was thrown while executing the batch.

Пространство имен:  Microsoft.SqlServer.Management.MultiServerConnection
Сборка:  Microsoft.SqlServer.Management.MultiServerConnection (в Microsoft.SqlServer.Management.MultiServerConnection.dll)

Синтаксис

'Декларация
ReadOnly Property Exception As Exception
    Get
'Применение
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

Значение свойства

Тип: System. . :: . .Exception
An Exception value containing the exception that was thrown while executing the Transact-SQL batch, or nullNothingnullptrunitпустая ссылка (Nothing в Visual Basic) if no exception was thrown.