Export (0) Print
Expand All

WrongPropertyValueException Class

The WrongPropertyValueException class represents the exception that is raised when a property is assigned the wrong value.

Object
  Exception
    SqlServerManagementException
      Microsoft.SqlServer.Management.Smo.SmoException
        Microsoft.SqlServer.Management.Smo.WrongPropertyValueException

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public final class WrongPropertyValueException extends SmoException

The WrongPropertyValueException type exposes the following members.

  NameDescription
Public methodWrongPropertyValueException()Initializes a new instance of the WrongPropertyValueException class.
Public methodWrongPropertyValueException(String)Initializes a new instance of the WrongPropertyValueException class with the specified message.
Public methodWrongPropertyValueException(Property)Initializes a new instance of the WrongPropertyValueException class for the specified property.
Public methodWrongPropertyValueException(String, Exception)Initializes a new instance of the WrongPropertyValueException class with the specified message and specified inner exception.
Top

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLinkGets the Help link for further information from Microsoft about the SMO exception. (Inherited from SmoException.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessageGets the message that is associated with the wrong property value exception. (Overrides ExceptionMessage.)
Public propertyPropertyGets the property that was assigned the wrong property value that caused the wrong property value exception to be raised.
Public propertySmoExceptionTypeGets the type of SMO exception for the wrong property value exception. (Overrides SmoException.SmoExceptionType.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataGets object data regarding the WrongPropertyValue Exception. (Overrides ExceptionGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType (Inherited from Exception.)
Protected methodSetHelpContextSets the Help context value for the referenced exception. (Inherited from SmoException.)
Public methodToString (Inherited from Exception.)
Top

Thread Safety

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.

Community Additions

ADD
Show:
© 2014 Microsoft