Exception 属性

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

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

语法

声明
Public ReadOnly Property Exception As Exception
    Get
用法
Dim instance As ServerMessageEventArgs
Dim value As Exception

value = instance.Exception
public Exception Exception { get; }
public:
virtual property Exception^ Exception {
    Exception^ get () sealed;
}
abstract Exception : Exception
override Exception : Exception
final function get Exception () : Exception

属性值

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

实现

IResultInfo. . :: . .Exception