UnknownPropertyException Class
The UnknownPropertyException class represents the exception that is raised when an SMO operation encounters an unknown property.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.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)
Syntax
'Bildirim
<SerializableAttribute> _
Public NotInheritable Class UnknownPropertyException _
Inherits SmoException
'Kullanım
Dim instance As UnknownPropertyException
[SerializableAttribute]
public sealed class UnknownPropertyException : SmoException
[SerializableAttribute]
public ref class UnknownPropertyException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type UnknownPropertyException =
class
inherit SmoException
end
public final class UnknownPropertyException extends SmoException
The UnknownPropertyException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UnknownPropertyException() | Initializes a new instance of the UnknownPropertyException class. | |
UnknownPropertyException(String) | Initializes a new instance of the UnknownPropertyException class for the specified property. | |
UnknownPropertyException(String, Exception) | Initializes a new instance of the UnknownPropertyException class with the specified message and inner exception. |
Top
Properties
Name | Description | |
---|---|---|
CurrentVersion | Gets the version of the instance of SQL Server. | |
Data | (Inherited from Exception.) | |
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 is unknown. | |
SmoExceptionType | Gets the type of SMO exception. (Overrides SmoException.SmoExceptionType.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
SupportedVersions | Gets the supported versions for the exception. | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Sets the SerializationInfo with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
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.