Freigeben über


Reason-Eigenschaft

Gets the reason for the exception.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public ReadOnly Property Reason As String
    Get
'Usage
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

Eigenschaftswert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.