Share via


Clase InvalidSmoOperationException

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public NotInheritable Class InvalidSmoOperationException _
    Inherits SmoException
'Uso
Dim instance As InvalidSmoOperationException
[SerializableAttribute]
public sealed class InvalidSmoOperationException : SmoException
[SerializableAttribute]
public ref class InvalidSmoOperationException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type InvalidSmoOperationException =  
    class
        inherit SmoException
    end
public final class InvalidSmoOperationException extends SmoException

El tipo InvalidSmoOperationException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público InvalidSmoOperationException() () () () Initializes a new instance of the InvalidSmoOperationException class.
Método público InvalidSmoOperationException(String) Initializes a new instance of the InvalidSmoOperationException class with the specified message.
Método público InvalidSmoOperationException(String, SqlSmoState) Initializes a new instance of the InvalidSmoOperationException class with the specified message and SMO state.
Método público InvalidSmoOperationException(String, Exception) Initializes a new instance of the InvalidSmoOperationException class with the specified message and inner exception.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception.)
Propiedad pública HelpLink Gets the Help link for further information from Microsoft about the SMO exception. (Se hereda de SmoException.)
Propiedad protegida HResult (Se hereda de Exception.)
Propiedad pública InnerException (Se hereda de Exception.)
Propiedad pública Message Gets the message associated with the Invalid SMO Operation exception. (Invalida Exception. . :: . .Message.)
Propiedad pública SmoExceptionType Gets the type of the SMO exception. (Invalida SmoException. . :: . .SmoExceptionType.)
Propiedad pública Source (Se hereda de Exception.)
Propiedad pública StackTrace (Se hereda de Exception.)
Propiedad pública TargetSite (Se hereda de Exception.)

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetBaseException (Se hereda de Exception.)
Método público GetHashCode (Se hereda de Object.)
Método público GetObjectData Populates a SerializationInfo object with the data needed to serialize the target object. (Invalida Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext).)
Método público GetType (Se hereda de Exception.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método protegido SetHelpContext Sets the Help context value for the referenced exception. (Se hereda de SmoException.)
Método público ToString (Se hereda de Exception.)

Arriba

Comentarios

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.