FailedOperationException Class
SQL Server 2008 R2
The FailedOperationException class represents the exception raised when an operation fails. . Failed database operations include CREATE, DROP, ALTER, SCRIPT, REFRESH, RENAME. This exception can also be raised when some of the public methods in SMO fail.
System.Object
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.FailedOperationException
System.Exception
Microsoft.SqlServer.Management.Common.SqlServerManagementException
Microsoft.SqlServer.Management.Smo.SmoException
Microsoft.SqlServer.Management.Smo.FailedOperationException
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
The FailedOperationException type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | FailedOperationException() | Initializes a new instance of the FailedOperationException class. |
![]() | FailedOperationException(String) | Initializes a new instance of the FailedOperationException class that has the specified message. |
![]() | FailedOperationException(String, Exception) | Initializes a new instance of the FailedOperationException class that has the specified message and inner exception. |
![]() | FailedOperationException(String, Object, Exception) | Initializes a new instance of the FailedOperationException class with the specified object on which the specified operation failed and that has the specified inner exception. |
![]() | FailedOperationException(String, Object, Exception, String) | Initializes a new instance of the FailedOperationException class that has the specified object on which the specified operation failed, and that has the specified inner exception and reason for occurring. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | FailedObject | Gets or sets the object on which the operation failed. |
![]() | 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 text that explains the exception. (Overrides Exception.Message.) |
![]() | Operation | Gets or sets the operation that failed. |
![]() | SmoExceptionType | Gets the exception type. (Overrides SmoException.SmoExceptionType.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetBaseException | (Inherited from Exception.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetObjectData | Override based on the virtual SerializationInfo method GetObjectData. (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.) |

