PropertyWriteException Class
The PropertyWriteException class represents the exception that is raised when an error occurs when setting the value of a property.
Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class PropertyWriteException _
    Inherits SmoException
'Usage
Dim instance As PropertyWriteException
[SerializableAttribute]
public sealed class PropertyWriteException : SmoException
[SerializableAttribute]
public ref class PropertyWriteException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type PropertyWriteException =  
    class
        inherit SmoException
    end
public final class PropertyWriteException extends SmoException
Remarks
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Inheritance Hierarchy
System.Object
  System.Exception
    Microsoft.SqlServer.Management.Common.SqlServerManagementException
      Microsoft.SqlServer.Management.Smo.SmoException
        Microsoft.SqlServer.Management.Smo.PropertyWriteException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.