WrongPropertyValueException Constructor (Property)

Initializes a new instance of the WrongPropertyValueException class for the specified property.

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

Syntax

'Declaration
Public Sub New ( _
    propertyObject As Property _
)
'Usage
Dim propertyObject As [Property]

Dim instance As New WrongPropertyValueException(propertyObject)
public WrongPropertyValueException(
    Property propertyObject
)
public:
WrongPropertyValueException(
    Property^ propertyObject
)
new : 
        propertyObject:Property -> WrongPropertyValueException
public function WrongPropertyValueException(
    propertyObject : Property
)

Parameters

Remarks

Initializes a new instance of the WrongPropertyValueException class.