PropertyCannotBeRetrievedException Class
The PropertyCannotBeRetrievedException class represents the exception raised when a property cannot be retrieved.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.PropertyCannotBeRetrievedException
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class PropertyCannotBeRetrievedException _
Inherits SmoException
'Usage
Dim instance As PropertyCannotBeRetrievedException
[SerializableAttribute]
public sealed class PropertyCannotBeRetrievedException : SmoException
[SerializableAttribute]
public ref class PropertyCannotBeRetrievedException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type PropertyCannotBeRetrievedException =
class
inherit SmoException
end
public final class PropertyCannotBeRetrievedException extends SmoException
The PropertyCannotBeRetrievedException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PropertyCannotBeRetrievedException() | Initializes a new instance of the PropertyCannotBeRetrievedException class. | |
PropertyCannotBeRetrievedException(String) | Initializes a new instance of the PropertyCannotBeRetrievedException class with the specified message. | |
PropertyCannotBeRetrievedException(String, Exception) | Initializes a new instance of the PropertyCannotBeRetrievedException class with the specified message and specified inner exception. | |
PropertyCannotBeRetrievedException(String, Object) | Initializes a new instance of the PropertyCannotBeRetrievedException class with the specified message and specified inner exception. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
FailedObject | Gets the object that owns the property that cannot be retrieved. | |
HelpLink | Gets the Help link for further information from Microsoft about the SMO exception. (Inherited from SmoException.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | Gets the message that describes the current exception. (Overrides Exception.Message.) | |
PropertyName | Gets the name of the property that cannot be retrieved. | |
SmoExceptionType | Gets the type of SMO exception. (Overrides SmoException.SmoExceptionType.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Populates a SerializationInfo object with the data needed to serialize the target object. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
SetHelpContext | Sets the Help context value for the referenced exception. (Inherited from SmoException.) | |
ToString | (Inherited from Exception.) |
Top
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.
Examples
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.