Compartir a través de


Clase ConnectionNotSetException

The ConnectionNotSetException class is used to raise an exception when the connection passed to a DAC action, such as install, upgrade, or uninstall.

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

Sintaxis

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

El tipo ConnectionNotSetException expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ConnectionNotSetException(Exception) Initializes an instance of the ConnectionNotSetException class when there was an inner exception that caused this exception.
Método público ConnectionNotSetException(String) Initializes an instance of the ConnectionNotSetException class with a message.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública DacExceptionType Gets the type of the exception. (Se hereda de DacException.)
Propiedad pública Data (Se hereda de Exception.)
Propiedad pública HelpLink Gets a string with the URL help link that further explains the exception. (Se hereda de DacException.)
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ú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 Init Initializes provider properties. (Se hereda de DacException.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método protegido SetHelpContext Sets the help context for the help link. (Se hereda de DacException.)
Método público ToString (Se hereda de Exception.)

Arriba

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.