Proprietà BadExpressionTreeException.Reason

Gets the reason for the exception.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property Reason As String 
    Get
'Utilizzo
Dim instance As BadExpressionTreeException 
Dim value As String 

value = instance.Reason
public string Reason { get; }
public:
property String^ Reason {
    String^ get ();
}
member Reason : string
function get Reason () : String

Valore proprietà

Tipo: System.String
A String value that specifies the reason for exception.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempi

Gestione delle eccezioni SMO

Vedere anche

Riferimento

BadExpressionTreeException Classe

Spazio dei nomi Microsoft.SqlServer.Management.Dmf