Propriété Exception
Gets the exception that was thrown while executing the Transact-SQL batch.
Espace de noms : Microsoft.SqlServer.Management.MultiServerConnection
Assembly : Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntaxe
'Déclaration
Public ReadOnly Property Exception As Exception
Get
'Utilisation
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
Valeur de propriété
Type : System. . :: . .Exception
The exception thrown during the Transact-SQL execution.