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.