XMLACubeList

The XMLACubeList data type represents a list of OLAP cubes. This example shows how to use it:

#define EngineVersion 3.0
#define RuntimeVersion 3.0

void XmlaPrintCubes(XMLAConnection connection)
{
	XMLACubeList cubes = XMLAGetCubeList(connection);
	foreach (XMLACube cube in cubes)
	{
		WriteLine("Found cube " + XMLAGetCubeName(cube) + ".");
	}	
}

The example code above retrieves a list of all cubes from an XMLA connection and prints their names.