共用方式為


FailedOperationException Members

The FailedOperationException class represents the exception raised when an operation fails.

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

Public Constructors

  名稱 Description
FailedOperationException Overloaded. Initializes a new instance of the FailedOperationException class.

頂端

Public Properties

(see also Protected Properties )

  名稱 Description
ms219570.pubproperty(zh-tw,SQL.90).gif Data  (inherited from Exception )
ms219570.pubproperty(zh-tw,SQL.90).gif FailedObject Gets or sets the object on which the operation failed.
ms219570.pubproperty(zh-tw,SQL.90).gif HelpLink  Gets the Help link for further information from Microsoft about the SQL Server Management Objects (SMO) exception. (inherited from SmoException)
ms219570.pubproperty(zh-tw,SQL.90).gif InnerException  (inherited from Exception )
ms219570.pubproperty(zh-tw,SQL.90).gif Message Overridden. Gets the message text that explains the exception.
ms219570.pubproperty(zh-tw,SQL.90).gif Operation Gets or sets the operation that failed.
ms219570.pubproperty(zh-tw,SQL.90).gifms219570.static(zh-tw,SQL.90).gif ProductName  Gets the name of the product that caused the exception. (inherited from SqlServerManagementException)
ms219570.pubproperty(zh-tw,SQL.90).gif SmoExceptionType Overridden. Gets the exception type.
ms219570.pubproperty(zh-tw,SQL.90).gif Source  (inherited from Exception )
ms219570.pubproperty(zh-tw,SQL.90).gif StackTrace  (inherited from Exception )
ms219570.pubproperty(zh-tw,SQL.90).gif TargetSite  (inherited from Exception )

頂端

Protected Properties

  名稱 Description
ms219570.protproperty(zh-tw,SQL.90).gif HResult  (inherited from Exception )
ms219570.protproperty(zh-tw,SQL.90).gifms219570.static(zh-tw,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
ms219570.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms219570.pubmethod(zh-tw,SQL.90).gif GetBaseException  (inherited from Exception )
ms219570.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms219570.pubmethod(zh-tw,SQL.90).gif GetObjectData  (inherited from Exception )
ms219570.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Exception )
ms219570.pubmethod(zh-tw,SQL.90).gifms219570.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms219570.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Exception )

頂端

Protected Methods

  名稱 Description
ms219570.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms219570.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )
ms219570.protmethod(zh-tw,SQL.90).gif SetHelpContext  (inherited from SmoException )

頂端

請參閱

參考

FailedOperationException Class
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Handling SMO Exceptions