Classe ConnectionNotSetException
The ConnectionNotSetException class is used to raise an exception when the connection passed to a DAC action, such as install, upgrade, or uninstall.
Hiérarchie d'héritage
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Dac. . :: . .DacException
Microsoft.SqlServer.Management.Dac. . :: . .DeploymentValidationException
Microsoft.SqlServer.Management.Dac..::..ConnectionNotSetException
Espace de noms : Microsoft.SqlServer.Management.Dac
Assembly : Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public NotInheritable Class ConnectionNotSetException _
Inherits DeploymentValidationException
'Utilisation
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
Le type ConnectionNotSetException expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
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. |
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
DacExceptionType | Gets the type of the exception. (hérité de DacException.) |
![]() |
Data | (hérité de Exception.) |
![]() |
HelpLink | Gets a string with the URL help link that further explains the exception. (hérité de DacException.) |
![]() |
HResult | (hérité de Exception.) |
![]() |
InnerException | (hérité de Exception.) |
![]() |
Message | (hérité de Exception.) |
![]() |
Source | (hérité de Exception.) |
![]() |
StackTrace | (hérité de Exception.) |
![]() |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
| Nom | Description | |
|---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetBaseException | (hérité de Exception.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetObjectData | (hérité de Exception.) |
![]() |
GetType | (hérité de Exception.) |
![]() |
Init | Initializes provider properties. (hérité de DacException.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
SetHelpContext | Sets the help context for the help link. (hérité de DacException.) |
![]() |
ToString | (hérité de Exception.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
.gif)
.gif)
.gif)
.gif)