InvalidSmoOperationException InvalidSmoOperationException InvalidSmoOperationException Class

Definition

The InvalidSmoOperationException class represents the exception raised when an SMO operation is not valid.

public ref class InvalidSmoOperationException sealed : Microsoft::SqlServer::Management::Smo::SmoException
public sealed class InvalidSmoOperationException : Microsoft.SqlServer.Management.Smo.SmoException
Public NotInheritable Class InvalidSmoOperationException
Inherits SmoException
Inheritance
Microsoft.SqlServer.Management.Common.SqlServerManagementExceptionMicrosoft.SqlServer.Management.Common.SqlServerManagementExceptionMicrosoft.SqlServer.Management.Common.SqlServerManagementException
InvalidSmoOperationExceptionInvalidSmoOperationExceptionInvalidSmoOperationException

Examples

Handling SMO Exceptions

Remarks

Thread Safety

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.

Constructors

InvalidSmoOperationException() InvalidSmoOperationException() InvalidSmoOperationException()

Initializes a new instance of the InvalidSmoOperationException class.

InvalidSmoOperationException(String) InvalidSmoOperationException(String) InvalidSmoOperationException(String)

Initializes a new instance of the InvalidSmoOperationException class with the specified message.

InvalidSmoOperationException(String, Exception) InvalidSmoOperationException(String, Exception) InvalidSmoOperationException(String, Exception)

Initializes a new instance of the InvalidSmoOperationException class with the specified message and inner exception.

InvalidSmoOperationException(String, SqlSmoState) InvalidSmoOperationException(String, SqlSmoState) InvalidSmoOperationException(String, SqlSmoState)

Initializes a new instance of the InvalidSmoOperationException class with the specified message and SMO state.

Properties

HelpLink HelpLink HelpLink

Gets the Help link for further information from Microsoft about the SMO exception.

(Inherited from SmoException)
Message Message Message

Gets the message associated with the Invalid SMO Operation exception.

SmoExceptionType SmoExceptionType SmoExceptionType

Gets the type of the SMO exception.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo object with the data needed to serialize the target object.

SetHelpContext(String) SetHelpContext(String) SetHelpContext(String)

Sets the Help context value for the referenced exception.

(Inherited from SmoException)

Applies to