Open this page in the API Guide

OlapConnectionPool.GetConnection Method

Gets the connection.

Namespace:  Dundas.BI.Data.DataProviders.Olap
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public IOlapConnection<IDbConnection> GetConnection(
	string connectionString,
	string userName,
	string connectorCacheId
)

Parameters

connectionString
Type: System.String
The connection string.
userName
Type: System.String
Name of the user.
connectorCacheId
Type: System.String
The connector cache ID.

Return Value

Type: IOlapConnection<IDbConnection>
A reference to connection object.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when connectionString is empty.
See Also