Share via


OlapConnectionInfo Class

This class supports the SMO infrastructure and is not intended to be used directly from your code.

Inheritance Hierarchy

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

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

Syntax

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

The OlapConnectionInfo type exposes the following members.

Constructors

  Name Description
Public method OlapConnectionInfo() This constructor supports the SMO infrastructure and is not intended to be used directly from your code.
Public method OlapConnectionInfo(OlapConnectionInfo) This constructor supports the SMO infrastructure and is not intended to be used directly from your code.

Top

Properties

  Name Description
Public property ApplicationName Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the application name.
Public property ConnectionString Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets a String value that specifies the Database Engine connection string. (Overrides SqlOlapConnectionInfoBase.ConnectionString.)
Protected property ConnectionStringInternal Gets or sets the internal connection string. (Inherited from SqlOlapConnectionInfoBase.)
Public property ConnectionTimeout Gets or sets the number of seconds before a connection times out. (Inherited from SqlOlapConnectionInfoBase.)
Protected property ConnectionTimeoutInternal Gets or sets the internal connection timeout period in seconds. (Inherited from SqlOlapConnectionInfoBase.)
Public property DatabaseName Gets or sets the database with which the connection is established. (Inherited from SqlOlapConnectionInfoBase.)
Protected property DatabaseNameInternal Gets or sets the internal database name. (Inherited from SqlOlapConnectionInfoBase.)
Public property EncryptConnection Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a Boolean value that specifies whether the Database Engine connection should be encrypted.
Protected property IntegratedSecurityInternal Gets or sets the Boolean property value that specifies whether the connection supports integrated security. (Inherited from SqlOlapConnectionInfoBase.)
Public property Password Gets or sets the password used to establish a connection. (Inherited from SqlOlapConnectionInfoBase.)
Public property QueryTimeout Gets or sets the number of seconds before a query times out. (Inherited from SqlOlapConnectionInfoBase.)
Protected property QueryTimeoutInternal Gets or sets the internal query timeout period in seconds. (Inherited from SqlOlapConnectionInfoBase.)
Protected property RebuildConnectionStringInternal Gets or sets a Boolean indicating whether the internal connection string must be rebuilt. (Inherited from SqlOlapConnectionInfoBase.)
Public property SecurePassword Gets or sets the secure password used to establish a connection. (Inherited from SqlOlapConnectionInfoBase.)
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. (Inherited from SqlOlapConnectionInfoBase.)
Protected property ServerNameInternal Gets or sets the internal name of the instance of SQL Server. (Inherited from SqlOlapConnectionInfoBase.)
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. (Inherited from SqlOlapConnectionInfoBase.)
Public property UserName Gets or sets the user that is connecting to the instance of SQL Server. (Inherited from SqlOlapConnectionInfoBase.)

Top

Methods

  Name Description
Protected method ConnectionParmsChanged Changes the connection parameters. (Inherited from SqlOlapConnectionInfoBase.)
Public method Copy Do not reference this member directly in your code. It supports the SQL Server infrastructure. Creates a new OlapConnectionInfo object based on the current connection object.
Public method CreateConnectionObject Do not reference this member directly in your code. It supports the SQL Server infrastructure. Creates an IDbConnection object for a connection to an instance of the SQL Server Database Engine. (Overrides SqlOlapConnectionInfoBase.CreateConnectionObject().)
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. (Inherited from SqlOlapConnectionInfoBase.)

Top

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