次の方法で共有


Exception プロパティ

バッチの実行中にスローされた例外を取得します。

名前空間:  Microsoft.SqlServer.Management.MultiServerConnection
アセンブリ:  Microsoft.SqlServer.Management.MultiServerConnection (Microsoft.SqlServer.Management.MultiServerConnection.dll)

構文

'宣言
ReadOnly Property Exception As Exception
    Get
'使用
Dim instance As IResultInfo
Dim value As Exception

value = instance.Exception
Exception Exception { get; }
property Exception^ Exception {
    Exception^ get ();
}
abstract Exception : Exception
function get Exception () : Exception

プロパティ値

型: System. . :: . .Exception
Transact-SQL バッチの実行中にスローされた例外を含んでいる Exception 値。例外がスローされなかった場合は NULL です。