共用方式為


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