Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
The following tables list the members exposed by the PropertyTypeMismatchException type.
Public Constructors
Name | Description | |
---|---|---|
PropertyTypeMismatchException | Overloaded. Initializes a new instance of the PropertyTypeMismatchException class. |
Top
Public Properties
(see also Protected Properties )
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 SQL Server Management Objects (SMO) exception. (inherited from SmoException) |
![]() |
InnerException | (inherited from Exception ) |
![]() |
Message | Overridden. Gets the message that describes the exception. |
![]() ![]() |
ProductName | Gets the name of the product that caused the exception. (inherited from SqlServerManagementException) |
![]() |
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 | Overridden. Gets the type of SQL Server Management Objects (SMO) exception. |
![]() |
Source | (inherited from Exception ) |
![]() |
StackTrace | (inherited from Exception ) |
![]() |
TargetSite | (inherited from Exception ) |
Top
Protected Properties
Name | Description | |
---|---|---|
![]() |
HResult | (inherited from Exception ) |
![]() ![]() |
ProdVer | Gets the product version of the instance of Microsoft SQL Server that generated the SQL Server Management Objects (SMO) exception. (inherited from SmoException) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetBaseException | (inherited from Exception ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetObjectData | (inherited from Exception ) |
![]() |
GetType | (inherited from Exception ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
ToString | (inherited from Exception ) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
![]() |
SetHelpContext | (inherited from SmoException ) |
Top
See Also
Reference
PropertyTypeMismatchException Class
Microsoft.SqlServer.Management.Smo Namespace