Share via


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.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Common.ConnectionInfoBase
    Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase

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

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public MustInherit Class ConnectionInfoBase
'Usage
Dim instance As ConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public abstract class ConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ConnectionInfoBase abstract
[<AbstractClassAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ConnectionInfoBase =  class end
public abstract class ConnectionInfoBase

The ConnectionInfoBase type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property ServerCaseSensitivity Gets or sets the server case sensitivity for the connection.
Public property ServerType Gets or sets the server connection type.
Public property ServerVersion Gets or sets the version information about the instance of SQL Server.

Top

Methods

  Name Description
Protected method ConnectionParmsChanged When overridden in a derived class, enables you to specify custom actions when a connection parameter changes.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the object as a string value. (Overrides Object.ToString().)

Top

Remarks

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

Thread Safety

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