Exception 属性
Gets the exception that was thrown while executing the batch.
命名空间: 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
An Exception value containing the exception that was thrown while executing the Transact-SQL batch, or nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing) if no exception was thrown.