OLE DB Programmer's Reference
Chapter 28: OLE DB for OLAP Code Samples
This chapter provides several OLE DB for OLAP code samples illustrating how to do the following:
Use the root enumerator and the sources rowset to identify a multidimensional provider (MDP)
Create an instance of a data source object directly by using the provider's CLSID
Create a schema rowset
Create a dataset object and obtain axis information
Create a dataset object and obtain the cell data