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 _
)
public WrongPropertyValueException (
Property propertyObject
)
public:
WrongPropertyValueException (
Property^ propertyObject
)
public WrongPropertyValueException (
Property propertyObject
)
public function WrongPropertyValueException (
propertyObject : Property
)
Parameters
- propertyObject
A Property object that specifies the property that was assigned the wrong value.
Remarks
Initializes a new instance of the WrongPropertyValueException class.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Catch an Exception in Visual Basic .NET
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
WrongPropertyValueException Class
WrongPropertyValueException Members
Microsoft.SqlServer.Management.Smo Namespace