PropertyTypeMismatchException Class
The PropertyTypeMismatchException class represents the exception raised when an attempt is made to set the property with a value that has the incorrect data type.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
System::Exception
Microsoft.SqlServer.Management.Common::SqlServerManagementException
Microsoft.SqlServer.Management.Smo::SmoException
Microsoft.SqlServer.Management.Smo::PropertyTypeMismatchException
| Name | Description | |
|---|---|---|
![]() | PropertyTypeMismatchException() | Initializes a new instance of the PropertyTypeMismatchException class. |
![]() | PropertyTypeMismatchException(String^) | Initializes a new instance of the PropertyTypeMismatchException class with the specified message. |
![]() | PropertyTypeMismatchException(String^, Exception^) | Initializes a new instance of the PropertyTypeMismatchException class with the specified message and specified inner exception. |
![]() | PropertyTypeMismatchException(String^, String^, String^) | Initializes a new instance of the PropertyTypeMismatchException class for the specified property, and specified received type and expected type. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | ExpectedType | Gets the expected data type for the property. |
![]() | 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. |
![]() | ReceivedType | Gets the data type that was received incorrectly by the property. |
![]() | 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(Object^) | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Returns object data in order to facilitate remoting.(Overrides Exception::GetObjectData(SerializationInfo^, StreamingContext).) |
![]() | GetType() | (Inherited from Exception.) |
![]() | SetHelpContext(String^) | Sets the Help context value for the referenced exception.(Inherited from SmoException.) |
![]() | ToString() | (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.


