OlapConnectionPoolGetConnection Method |
Gets the connection.
Namespace:
Dundas.BI.Data.DataProviders.Olap
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax public IOlapConnection<IDbConnection> GetConnection(
string connectionString,
string userName,
string connectorCacheId
)
Public Function GetConnection (
connectionString As String,
userName As String,
connectorCacheId As String
) As IOlapConnection(Of IDbConnection)
public:
IOlapConnection<IDbConnection^>^ GetConnection(
String^ connectionString,
String^ userName,
String^ connectorCacheId
)
member GetConnection :
connectionString : string *
userName : string *
connectorCacheId : string -> IOlapConnection<IDbConnection>
Parameters
- connectionString
- Type: SystemString
The connection string. - userName
- Type: SystemString
Name of the user. - connectorCacheId
- Type: SystemString
The connector cache ID.
Return Value
Type:
IOlapConnectionIDbConnectionA reference to connection object.
Exceptions See Also