FailedOperationException Class
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.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
System::Exception
Microsoft.SqlServer.Management.Common::SqlServerManagementException
Microsoft.SqlServer.Management.Smo::SmoException
Microsoft.SqlServer.Management.Smo::FailedOperationException
| 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(Object^) | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Override based on the virtual T: System.Runtime.Serialization.SerializationInfo method GetObjectData.(Overrides Exception::GetObjectData(SerializationInfo^, StreamingContext).) |
![]() | GetType() | (Inherited from Exception.) |
![]() | SetHelpContext(String^) | Sets the Help context value for the referenced exception.(Inherited from SmoException.) |
![]() | ToString() | (Inherited from Exception.) |
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.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


