Clase SqlServerManagementException

The SqlServerManagementException class is an exception that is raised when a SQL Server management error is encountered on the connection to the server.

Jerarquía de herencia

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common..::..SqlServerManagementException
      Más...

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

Sintaxis

'Declaración
Public Class SqlServerManagementException _
    Inherits Exception
'Uso
Dim instance As SqlServerManagementException
public class SqlServerManagementException : Exception
public ref class SqlServerManagementException : public Exception
type SqlServerManagementException =  
    class
        inherit Exception
    end
public class SqlServerManagementException extends Exception

El tipo SqlServerManagementException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público SqlServerManagementException() () () () Initializes a new instance of the SqlServerManagementException class.
Método público SqlServerManagementException(String) Initializes a new instance of the SqlServerManagementException class with the specified message text.
Método protegido SqlServerManagementException(SerializationInfo, StreamingContext) Initializes a new instance of the SqlServerManagementException class with the specified serialization information and streaming context.
Método público SqlServerManagementException(String, Exception) Initializes a new instance of the SqlServerManagementException class with the specified message text and inner exception.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception.)
Propiedad pública HelpLink (Se hereda de Exception.)
Propiedad protegida HResult (Se hereda de Exception.)
Propiedad pública InnerException (Se hereda de Exception.)
Propiedad pública Message (Se hereda de Exception.)
Propiedad públicaMiembro estático ProductName Gets the name of the product that caused the exception.
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 (Se hereda de Exception.)
Método público GetType (Se hereda de Exception.)
Método protegido MemberwiseClone (Se hereda de Object.)
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.

Jerarquía de herencia

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common..::..SqlServerManagementException
      Microsoft.SqlServer.Management.Common. . :: . .TransferException
      Microsoft.SqlServer.Management.Dac. . :: . .DacException
      Microsoft.SqlServer.Management.Dmf. . :: . .DmfException
      Microsoft.SqlServer.Management.RegisteredServers. . :: . .RegisteredServerException
      Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .EnumeratorException
      Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcException
      Microsoft.SqlServer.Management.Smo. . :: . .SmoException
      Microsoft.SqlServer.Management.Trace. . :: . .SqlTraceException
      Microsoft.SqlServer.Management.Utility. . :: . .UtilityException