Udostępnij przez


Właściwość ServerMessageEventArgs.Exception

Pobiera wyjątek, który został zgłoszony podczas wykonywania języka Transact-SQL partia.

Przestrzeń nazw:  Microsoft.SqlServer.Management.MultiServerConnection
Zestaw:  Microsoft.SqlServer.Management.MultiServerConnection (w Microsoft.SqlServer.Management.MultiServerConnection.dll)

Składnia

'Deklaracja
Public ReadOnly Property Exception As Exception
    Get
'Użycie
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

Wartość właściwości

Typ: System.Exception
Wyjątek podczas wykonywania języka Transact-SQL.

Implementacje

IResultInfo.Exception