Share via


NonConfigurableReadOnlyPropertyException Constructor (String)

Initializes a new instance of the NonConfigurableReadOnlyPropertyException class that has the specified property.

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

Syntax

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

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

Parameters

  • propertyName
    Type: System.String
    A String value that specifies the property caused the 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

Reference

NonConfigurableReadOnlyPropertyException Class

NonConfigurableReadOnlyPropertyException Overload

Microsoft.SqlServer.Management.Dmf Namespace