Export (0) Print
Expand All

UnknownPropertyException Class

The UnknownPropertyException class represents the exception that is raised when an SMO operation encounters an unknown property.

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

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

[SerializableAttribute]
public sealed class UnknownPropertyException : SmoException

The UnknownPropertyException type exposes the following members.

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

  NameDescription
Public propertyCurrentVersionGets the version of the instance of SQL Server.
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 describes the current exception. (Overrides ExceptionMessage.)
Public propertyPropertyNameGets the name of the property that is unknown.
Public propertySmoExceptionTypeGets the type of SMO exception. (Overrides SmoException.SmoExceptionType.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertySupportedVersionsGets the supported versions for the exception.
Public propertyTargetSite (Inherited from Exception.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSets the SerializationInfo with information about the 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