PropertyCannotBeRetrievedException PropertyCannotBeRetrievedException PropertyCannotBeRetrievedException Class

Definition

The PropertyCannotBeRetrievedException class represents the exception raised when a property cannot be retrieved.

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

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

PropertyCannotBeRetrievedException() PropertyCannotBeRetrievedException() PropertyCannotBeRetrievedException()

Initializes a new instance of the PropertyCannotBeRetrievedException class.

PropertyCannotBeRetrievedException(String) PropertyCannotBeRetrievedException(String) PropertyCannotBeRetrievedException(String)

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

PropertyCannotBeRetrievedException(String, Exception) PropertyCannotBeRetrievedException(String, Exception) PropertyCannotBeRetrievedException(String, Exception)

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

PropertyCannotBeRetrievedException(String, Object) PropertyCannotBeRetrievedException(String, Object) PropertyCannotBeRetrievedException(String, Object)

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

Properties

FailedObject FailedObject FailedObject

Gets the object that owns the property that cannot be retrieved.

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 cannot be retrieved.

SmoExceptionType SmoExceptionType SmoExceptionType

Gets the type of SMO exception.

Methods

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

Populates a SerializationInfo object with the data needed to serialize the target object.

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

Sets the Help context value for the referenced exception.

(Inherited from SmoException)

Applies to