다음을 통해 공유


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