OLAPCubeList
 To access all cubes that belong to a certain 
		  OLAPConnection, use the 
		  OLAPCubeList data type: 
		
#define EngineVersion 5.0
#define RuntimeVersion 5.0
void PrintOlapCubeNames()
{
    OLAPConnection olapconnection = OLAPCreateNamedConnection("");
    OLAPCubeList cubes = OLAPGetCubeList(olapconnection);
    foreach (OLAPCube cube in cubes)
    {
        WriteLine("Found cube " + OLAPGetCubeName(cube) + ".");
    }
    OLAPDisconnect(olapconnection);
}
 
		       This data type is only available in engine versions 2.0 and above.