TechNet
Export (0) Print
Expand All

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.

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.PropertyTypeMismatchException

[SerializableAttribute]
public sealed class PropertyTypeMismatchException : SmoException

NameDescription
System_CAPS_pubmethodPropertyTypeMismatchException()

Initializes a new instance of the PropertyTypeMismatchException class.

System_CAPS_pubmethodPropertyTypeMismatchException(String)

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

System_CAPS_pubmethodPropertyTypeMismatchException(String, Exception)

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

System_CAPS_pubmethodPropertyTypeMismatchException(String, String, String)

Initializes a new instance of the PropertyTypeMismatchException class for the specified property, and specified received type and expected type.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyExpectedType

Gets the expected data type for the property.

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_pubpropertyReceivedType

Gets the data type that was received incorrectly by the property.

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 in order 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:
© 2016 Microsoft