Export (0) Print
Expand All

ConnectionNotSetException Class

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)

[SerializableAttribute]
public sealed class ConnectionNotSetException : DeploymentValidationException

The ConnectionNotSetException type exposes the following members.

  NameDescription
Public methodConnectionNotSetException(Exception)Initializes an instance of the ConnectionNotSetException class when there was an inner exception that caused this exception.
Public methodConnectionNotSetException(String)Initializes an instance of the ConnectionNotSetException class with a message.
Top

  NameDescription
Public propertyDacExceptionTypeGets the type of the exception. (Inherited from DacException.)
Public propertyData (Inherited from Exception.)
Public propertyHelpLinkGets a string with the URL help link that further explains the exception. (Inherited from DacException.)
Protected propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodInitInitializes provider properties. (Inherited from DacException.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSetHelpContextSets the help context for the help link. (Inherited from DacException.)
Public methodToString (Inherited from Exception.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft