Returns the ADODB.Connection object of the current cube.
Return type
ADODB.Connection
Parameters
Example
Dim m_cnConnection As Object
Set m_cnConnection = CreateObject("ADODB.Connection")
Set m_cnConnection = Cube1.Connection
call msgBox( _
m_cnConnection.ConnectionString)
Explanation
Creates an ADODB.Connection object and retrieves the control current connection, then prints its connection string.
See also
Notes
You can use a reference in your VB project to the library Microsoft ActiveX Data Objects 2.x Library" and use: