TechNet
Export (0) Print
Expand All

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.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

System::Object
  System::Exception
    Microsoft.SqlServer.Management.Common::SqlServerManagementException
      Microsoft.SqlServer.Management.Smo::SmoException
        Microsoft.SqlServer.Management.Smo::FailedOperationException

[SerializableAttribute]
public ref class FailedOperationException sealed : SmoException

NameDescription
System_CAPS_pubmethodFailedOperationException()

Initializes a new instance of the FailedOperationException class.

System_CAPS_pubmethodFailedOperationException(String^)

Initializes a new instance of the FailedOperationException class that has the specified message.

System_CAPS_pubmethodFailedOperationException(String^, Exception^)

Initializes a new instance of the FailedOperationException class that has the specified message and inner exception.

System_CAPS_pubmethodFailedOperationException(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.

System_CAPS_pubmethodFailedOperationException(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.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyFailedObject

Gets or sets the object on which the operation failed.

System_CAPS_pubpropertyHelpLink

Gets the Help link for further information from Microsoft about the SMO exception.(Inherited from SmoException.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

Gets the message text that explains the exception.(Overrides Exception::Message.)

System_CAPS_pubpropertyOperation

Gets or sets the operation that failed.

System_CAPS_pubpropertySmoExceptionType

Gets the exception type.(Overrides SmoException::SmoExceptionType.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

Override based on the virtual T: System.Runtime.Serialization.SerializationInfo method GetObjectData.(Overrides Exception::GetObjectData(SerializationInfo^, StreamingContext).)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_protmethodSetHelpContext(String^)

Sets the Help context value for the referenced exception.(Inherited from SmoException.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show:
© 2016 Microsoft