Exception 属性

Gets or sets the exception that was thrown while executing the Transact-SQL.

命名空间:  Microsoft.SqlServer.Management.MultiServerConnection
程序集:  Microsoft.SqlServer.Management.MultiServerConnection(在 Microsoft.SqlServer.Management.MultiServerConnection.dll 中)

语法

声明
Public Overridable Property Exception As Exception
    Get
    Set
用法
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)

属性值

类型:System. . :: . .Exception
The exception thrown during the Transact-SQL execution.

实现

IResultInfo. . :: . .Exception