Propriété Exception
Gets the exception that was thrown while executing the batch.
Espace de noms : Microsoft.SqlServer.Management.MultiServerConnection
Assembly : Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntaxe
'Déclaration
ReadOnly Property Exception As Exception
Get
'Utilisation
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
Valeur de propriété
Type : System. . :: . .Exception
An Exception value containing the exception that was thrown while executing the Transact-SQL batch, or nullNothingnullptrunitune référence Null (Nothing dans Visual Basic) if no exception was thrown.
Voir aussi