Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

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)
[SerializableAttribute]
[ComVisibleAttribute(false)]
public abstract class ConnectionInfoBase

The ConnectionInfoBase type exposes the following members.

  NameDescription
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.
Top
  NameDescription
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.
Top
  NameDescription
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 Object.ToString().)
Top

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.