WrongPropertyValueException.SmoExceptionType Property

 

Applies To: SQL Server 2016 Preview

Gets the type of SMO exception for the wrong property value exception.

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

Syntax

public override SmoExceptionType SmoExceptionType { get; }
public:
property SmoExceptionType SmoExceptionType {
    virtual SmoExceptionType get() override;
}
override SmoExceptionType : SmoExceptionType with get
Public Overrides ReadOnly Property SmoExceptionType As SmoExceptionType

Property Value

Type: Microsoft.SqlServer.Management.Smo.SmoExceptionType

An SmoExceptionType object value that specifies the type of SMO exception.

Examples

Legacy Code Example

Handling SMO Exceptions

See Also

WrongPropertyValueException Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top