UnknownPropertyException Constructor (String)

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

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

Syntax

'Declaration
Public Sub New ( _
    propertyName As String _
)
'Usage
Dim propertyName As String 

Dim instance As New UnknownPropertyException(propertyName)
public UnknownPropertyException(
    string propertyName
)
public:
UnknownPropertyException(
    String^ propertyName
)
new : 
        propertyName:string -> UnknownPropertyException
public function UnknownPropertyException(
    propertyName : String
)

Parameters

  • propertyName
    Type: System.String
    A String value that specifies the name of the property that is unknown.

Examples

Handling SMO Exceptions

See Also

Reference

UnknownPropertyException Class

UnknownPropertyException Overload

Microsoft.SqlServer.Management.Smo Namespace