IResultInfo.Exception IResultInfo.Exception IResultInfo.Exception Property

Definition

Gets the exception that was thrown while executing the batch.

public:
 property Exception ^ Exception { Exception ^ get(); };
public Exception Exception { get; }
Public ReadOnly Property Exception As Exception
Property Value

An Exception value containing the exception that was thrown while executing the Transact-SQL batch, or null if no exception was thrown.

Applies to