IResultInfo.Exception Property
Gets the exception that was thrown while executing the batch.
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntax
'Declaration
ReadOnly Property Exception As Exception
Get
'Usage
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
Property Value
Type: System.Exception
An Exception value containing the exception that was thrown while executing the Transact-SQL batch, or nulla null reference (Nothing in Visual Basic) if no exception was thrown.