다음을 통해 공유


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.