Freigeben über


ConnectionNotSetException-Klasse

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

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ConnectionNotSetException _
    Inherits DeploymentValidationException
'Usage
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

Der ConnectionNotSetException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ConnectionNotSetException(Exception) Initializes an instance of the ConnectionNotSetException class when there was an inner exception that caused this exception.
Öffentliche Methode ConnectionNotSetException(String) Initializes an instance of the ConnectionNotSetException class with a message.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft DacExceptionType Gets the type of the exception. (Geerbt von DacException.)
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink Gets a string with the URL help link that further explains the exception. (Geerbt von DacException.)
Geschützte Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message (Geerbt von Exception.)
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData (Geerbt von Exception.)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode Init Initializes provider properties. (Geerbt von DacException.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode SetHelpContext Sets the help context for the help link. (Geerbt von DacException.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.