BadExpressionTreeException.Reason Property

 

Gets the reason for the exception.

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

Syntax

public string Reason { get; }
public:
property String^ Reason {
    String^ get();
}
member Reason : string with get
Public ReadOnly Property Reason As String

Property Value

Type: System.String

A String value that specifies the reason for exception.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

BadExpressionTreeException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top