Partager via


Propriété Exception

Gets or sets the exception that was thrown while executing the Transact-SQL.

Espace de noms :  Microsoft.SqlServer.Management.MultiServerConnection
Assembly :  Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntaxe

'Déclaration
Public Overridable Property Exception As Exception
    Get
    Set
'Utilisation
Dim instance As ResultInfo
Dim value As Exception

value = instance.Exception

instance.Exception = value
public virtual Exception Exception { get; set; }
public:
virtual property Exception^ Exception {
    Exception^ get ();
    void set (Exception^ value);
}
abstract Exception : Exception with get, set
override Exception : Exception with get, set
function get Exception () : Exception
function set Exception (value : Exception)

Valeur de propriété

Type : System. . :: . .Exception
The exception thrown during the Transact-SQL execution.

Implémente

IResultInfo. . :: . .Exception