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.
Jerarquía de herencia
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Dac. . :: . .DacException
Microsoft.SqlServer.Management.Dac. . :: . .DeploymentValidationException
Microsoft.SqlServer.Management.Dac..::..ConnectionNotSetException
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 | |
---|---|---|
ConnectionNotSetException(Exception) | Initializes an instance of the ConnectionNotSetException class when there was an inner exception that caused this exception. | |
ConnectionNotSetException(String) | Initializes an instance of the ConnectionNotSetException class with a message. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
DacExceptionType | Gets the type of the exception. (Se hereda de DacException.) | |
Data | (Se hereda de Exception.) | |
HelpLink | Gets a string with the URL help link that further explains the exception. (Se hereda de DacException.) | |
HResult | (Se hereda de Exception.) | |
InnerException | (Se hereda de Exception.) | |
Message | (Se hereda de Exception.) | |
Source | (Se hereda de Exception.) | |
StackTrace | (Se hereda de Exception.) | |
TargetSite | (Se hereda de Exception.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
GetBaseException | (Se hereda de Exception.) | |
GetHashCode | (Se hereda de Object.) | |
GetObjectData | (Se hereda de Exception.) | |
GetType | (Se hereda de Exception.) | |
Init | Initializes provider properties. (Se hereda de DacException.) | |
MemberwiseClone | (Se hereda de Object.) | |
SetHelpContext | Sets the help context for the help link. (Se hereda de DacException.) | |
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.