UnknownPropertyException UnknownPropertyException UnknownPropertyException Class

Definition

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

public ref class UnknownPropertyException sealed : Microsoft::SqlServer::Management::Smo::SmoException
public sealed class UnknownPropertyException : Microsoft.SqlServer.Management.Smo.SmoException
Public NotInheritable Class UnknownPropertyException
Inherits SmoException
Inheritance
Microsoft.SqlServer.Management.Common.SqlServerManagementExceptionMicrosoft.SqlServer.Management.Common.SqlServerManagementExceptionMicrosoft.SqlServer.Management.Common.SqlServerManagementException
UnknownPropertyExceptionUnknownPropertyExceptionUnknownPropertyException

Examples

Handling SMO Exceptions

Remarks

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.

Constructors

UnknownPropertyException() UnknownPropertyException() UnknownPropertyException()

Initializes a new instance of the UnknownPropertyException class.

UnknownPropertyException(String) UnknownPropertyException(String) UnknownPropertyException(String)

Initializes a new instance of the UnknownPropertyException class for the specified property.

UnknownPropertyException(String, Exception) UnknownPropertyException(String, Exception) UnknownPropertyException(String, Exception)

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

Properties

CurrentVersion CurrentVersion CurrentVersion

Gets the version of the instance of SQL Server.

HelpLink HelpLink HelpLink

Gets the Help link for further information from Microsoft about the SMO exception.

(Inherited from SmoException)
Message Message Message

Gets the message that describes the current exception.

PropertyName PropertyName PropertyName

Gets the name of the property that is unknown.

SmoExceptionType SmoExceptionType SmoExceptionType

Gets the type of SMO exception.

SupportedVersions SupportedVersions SupportedVersions

Gets the supported versions for the exception.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo with information about the exception.

SetHelpContext(String) SetHelpContext(String) SetHelpContext(String)

Sets the Help context value for the referenced exception.

(Inherited from SmoException)

Applies to