Freigeben über


Exception-Eigenschaft

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

Eigenschaftswert

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