PropertyWriteException Class
SQL Server 2012
The PropertyWriteException class represents the exception that is raised when an error occurs when setting the value of a property.
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.PropertyWriteException
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.PropertyWriteException
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
The PropertyWriteException type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | PropertyWriteException | Initializes a new instance of the PropertyWriteException class. |
![]() | PropertyWriteException(String) | Initializes a new instance of the PropertyWriteException class with the specified message. |
![]() | PropertyWriteException(String, Exception) | Initializes a new instance of the PropertyWriteException class with the specified message and specified inner exception. |
![]() | PropertyWriteException(String, String, String, String) | Initializes a new instance of the PropertyWriteException class with the specified property name, object kind, object name, and reason. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Inherited from SmoException.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Message | Gets the message that describes the exception. (Overrides Exception.Message.) |
![]() | PropertyName | Gets the name of the property that received a value with the incorrect data type. |
![]() | SmoExceptionType | Gets the type of SMO exception. (Overrides SmoException.SmoExceptionType.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetBaseException | (Inherited from Exception.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetObjectData | Returns object data to facilitate remoting. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) |
![]() | GetType | (Inherited from Exception.) |
![]() | SetHelpContext | Sets the Help context value for the referenced exception. (Inherited from SmoException.) |
![]() | ToString | (Inherited from Exception.) |

.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)