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)

System::Object
  System::Exception
    Microsoft.SqlServer.Management.Common::SqlServerManagementException
      Microsoft.SqlServer.Management.Smo::SmoException
        Microsoft.SqlServer.Management.Smo::PropertyWriteException

[SerializableAttribute]
public ref class PropertyWriteException sealed : SmoException

NameDescription
System_CAPS_pubmethodPropertyWriteException()

Initializes a new instance of the PropertyWriteException class.

System_CAPS_pubmethodPropertyWriteException(String^)

Initializes a new instance of the PropertyWriteException class with the specified message.

System_CAPS_pubmethodPropertyWriteException(String^, Exception^)

Initializes a new instance of the PropertyWriteException class with the specified message and specified inner exception.

System_CAPS_pubmethodPropertyWriteException(String^, String^, String^, String^)

Initializes a new instance of the PropertyWriteException class with the specified property name, object kind, object name, and reason.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyHelpLink

Gets the Help link for further information from Microsoft about the SMO exception.(Inherited from SmoException.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

Gets the message that describes the exception.(Overrides Exception::Message.)

System_CAPS_pubpropertyPropertyName

Gets the name of the property that received a value with the incorrect data type.

System_CAPS_pubpropertySmoExceptionType

Gets the type of SMO exception.(Overrides SmoException::SmoExceptionType.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

Returns object data to facilitate remoting.(Overrides Exception::GetObjectData(SerializationInfo^, StreamingContext).)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodSetHelpContext(String^)

Sets the Help context value for the referenced exception.(Inherited from SmoException.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

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.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: