ResultInfo.Exception Property
Gets or sets the exception that was thrown while executing the Transact-SQL.
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntax
'Declaration
Public Overridable Property Exception As Exception
Get
Set
'Usage
Dim instance As ResultInfo
Dim value As Exception
value = instance.Exception
instance.Exception = value
public virtual Exception Exception { get; set; }
public:
virtual property Exception^ Exception {
Exception^ get ();
void set (Exception^ value);
}
abstract Exception : Exception with get, set
override Exception : Exception with get, set
function get Exception () : Exception
function set Exception (value : Exception)
Property Value
Type: System.Exception
The exception thrown during the Transact-SQL execution.