SqlOlapConnectionInfoBase Class

The SqlOlapConnectionInfoBase class represents information used to connect to the instance of SQL Server.

Inheritance Hierarchy

Object
  Microsoft.SqlServer.Management.Common.ConnectionInfoBase
    Microsoft.SqlServer.Management.Common.SqlOlapConnectionInfoBase
      Microsoft.SqlServer.Management.Common.OlapConnectionInfo
      Microsoft.SqlServer.Management.Common.SqlConnectionInfo

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

Syntax

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

The SqlOlapConnectionInfoBase type exposes the following members.

Constructors

  Name Description
Protected method SqlOlapConnectionInfoBase() Initializes a new instance of the SqlOlapConnectionInfoBase class.
Protected method SqlOlapConnectionInfoBase(ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Protected method SqlOlapConnectionInfoBase(SqlOlapConnectionInfoBase) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Protected method SqlOlapConnectionInfoBase(String, ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.
Public method SqlOlapConnectionInfoBase(String, String, String, ConnectionType) Initializes a new instance of the SqlOlapConnectionInfoBase class.

Top

Properties

  Name Description
Public property ConnectionString Gets the connection string.
Protected property ConnectionStringInternal Gets or sets the internal connection string.
Public property ConnectionTimeout Gets or sets the number of seconds before a connection times out.
Protected property ConnectionTimeoutInternal Gets or sets the internal connection timeout period in seconds.
Public property DatabaseName Gets or sets the database with which the connection is established.
Protected property DatabaseNameInternal Gets or sets the internal database name.
Protected property IntegratedSecurityInternal Gets or sets the Boolean property value that specifies whether the connection supports integrated security.
Public property Password Gets or sets the password used to establish a connection.
Public property QueryTimeout Gets or sets the number of seconds before a query times out.
Protected property QueryTimeoutInternal Gets or sets the internal query timeout period in seconds.
Protected property RebuildConnectionStringInternal Gets or sets a Boolean indicating whether the internal connection string must be rebuilt.
Public property SecurePassword Gets or sets the secure password used to establish a connection.
Public property ServerCaseSensitivity Gets or sets the server case sensitivity for the connection. (Inherited from ConnectionInfoBase.)
Public property ServerName Gets or sets the name of the instance of SQL Server.
Protected property ServerNameInternal Gets or sets the internal name of the instance of SQL Server.
Public property ServerType Gets or sets the server connection type. (Inherited from ConnectionInfoBase.)
Public property ServerVersion Gets or sets the version information about the instance of SQL Server. (Inherited from ConnectionInfoBase.)
Public property UseIntegratedSecurity Gets or sets the Boolean property value that specifies whether the connection uses integrated security.
Public property UserName Gets or sets the user that is connecting to the instance of SQL Server.

Top

Methods

  Name Description
Protected method ConnectionParmsChanged Changes the connection parameters. (Overrides ConnectionInfoBase.ConnectionParmsChanged().)
Public method CreateConnectionObject Creates the connection object and returns the IDbConnection object value.
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 ConnectionInfoBase.ToString().)

Top

Fields

  Name Description
Public fieldStatic member DefaultConnTimeout A Int32 that specifies the default connection time out period in seconds.
Public fieldStatic member DefaultQueryTimeout A Int32 that specifies the default query time out period in seconds.
Protected fieldStatic member NoTimeOut A Int32 that specifies there is no time out.

Top

Remarks

The SqlOlapConnectionInfoBase class is a base class that is used in the construction of the SqlConnectionInfo class

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.

See Also

Reference

Microsoft.SqlServer.Management.Common Namespace