ConnectionInfoBase Class

The ConnectionInfoBase object is a base class that is used in the construction of the SqlOlapConnectionInfoBase class and it represents information used to connect to an instance of SQL Server.


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

public abstract class ConnectionInfoBase

The ConnectionInfoBase type exposes the following members.

Protected methodConnectionInfoBase()Initializes a new instance of the ConnectionInfoBase class.
Protected methodConnectionInfoBase(ConnectionInfoBase)Initializes a new instance of the ConnectionInfoBase class based on the specified object.
Protected methodConnectionInfoBase(ConnectionType)Initializes a new instance of the ConnectionInfoBase class with the specified connection type.

Public propertyServerCaseSensitivityGets or sets the server case sensitivity for the connection.
Public propertyServerTypeGets or sets the server connection type.
Public propertyServerVersionGets or sets the version information about the instance of SQL Server.

Protected methodConnectionParmsChangedWhen overridden in a derived class, enables you to specify custom actions when a connection parameter changes.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns the object as a string value. (Overrides ObjectToString.)

When you inherit from ConnectionInfoBase, you must override the ConnectionParmsChanged member.

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