UnknownPropertyException Members

The UnknownPropertyException class represents the exception raised when a SQL Server Management Objects (SMO) operation encounters an unknown property.

The following tables list the members exposed by the UnknownPropertyException type.

Public Constructors

  名称 Description
UnknownPropertyException Overloaded. Initializes a new instance of the UnknownPropertyException class.

顶部

Public Properties

(see also Protected Properties )

  名称 Description
ms220587.pubproperty(zh-cn,SQL.90).gif CurrentVersion Gets the version of the instance of Microsoft SQL Server.
ms220587.pubproperty(zh-cn,SQL.90).gif Data  (inherited from Exception )
ms220587.pubproperty(zh-cn,SQL.90).gif HelpLink  Gets the Help link for further information from Microsoft about the SQL Server Management Objects (SMO) exception. (inherited from SmoException)
ms220587.pubproperty(zh-cn,SQL.90).gif InnerException  (inherited from Exception )
ms220587.pubproperty(zh-cn,SQL.90).gif Message Overridden. Gets the message that describes the current exception.
ms220587.pubproperty(zh-cn,SQL.90).gifms220587.static(zh-cn,SQL.90).gif ProductName  Gets the name of the product that caused the exception. (inherited from SqlServerManagementException)
ms220587.pubproperty(zh-cn,SQL.90).gif PropertyName Gets the name of the property that is unknown.
ms220587.pubproperty(zh-cn,SQL.90).gif SmoExceptionType Overridden. Gets the type of SQL Server Management Objects (SMO) exception.
ms220587.pubproperty(zh-cn,SQL.90).gif Source  (inherited from Exception )
ms220587.pubproperty(zh-cn,SQL.90).gif StackTrace  (inherited from Exception )
ms220587.pubproperty(zh-cn,SQL.90).gif SupportedVersions Gets the supported versions for the exception.
ms220587.pubproperty(zh-cn,SQL.90).gif TargetSite  (inherited from Exception )

顶部

Protected Properties

  名称 Description
ms220587.protproperty(zh-cn,SQL.90).gif HResult  (inherited from Exception )
ms220587.protproperty(zh-cn,SQL.90).gifms220587.static(zh-cn,SQL.90).gif ProdVer  Gets the product version of the instance of Microsoft SQL Server that generated the SQL Server Management Objects (SMO) exception. (inherited from SmoException)

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms220587.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220587.pubmethod(zh-cn,SQL.90).gif GetBaseException  (inherited from Exception )
ms220587.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms220587.pubmethod(zh-cn,SQL.90).gif GetObjectData  (inherited from Exception )
ms220587.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Exception )
ms220587.pubmethod(zh-cn,SQL.90).gifms220587.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220587.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Exception )

顶部

Protected Methods

  名称 Description
ms220587.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms220587.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220587.protmethod(zh-cn,SQL.90).gif SetHelpContext  (inherited from SmoException )

顶部

请参阅

参考

UnknownPropertyException Class
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Handling SMO Exceptions