ConnectionCannotBeChangedException Class
TOC
Collapse the table of content
Expand the table of content

ConnectionCannotBeChangedException Class

The ConnectionCannotBeChangedException class is an exception that is raised when an unsuccessful attempt is made to change the connection to the instance of Microsoft SQL Server.

System.Object
  System.Exception
    System.SystemException
      Microsoft.SqlServer.Management.Common.ConnectionException
        Microsoft.SqlServer.Management.Common.ConnectionCannotBeChangedException

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

[SerializableAttribute]
public sealed class ConnectionCannotBeChangedException : ConnectionException

The ConnectionCannotBeChangedException type exposes the following members.

  NameDescription
Public methodConnectionCannotBeChangedException()Initializes a new instance of the ConnectionCannotBeChangedException class.
Public methodConnectionCannotBeChangedException(String)Initializes a new instance of the ConnectionCannotBeChangedException class with the specified message text.
Public methodConnectionCannotBeChangedException(String, Exception)Initializes a new instance of the ConnectionCannotBeChangedException class with the specified message text and inner exception.
Top

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
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 methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)
Top

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2016 Microsoft