Using Visual C++

Analysis Services Programming

Analysis Services Programming

Using Visual C++

In a COM and Visual C++® environment, you can interact with PivotTable® Service using OLE DB for OLAP. This extension to OLE DB contains interfaces for issuing and retrieving Multidimensional Expressions (MDX) queries. The primary interface for retrieving multidimensional data is IMDDataset, which returns cell values and column information. The OLE DB IDBSchemaRowset interface is used to retrieve multidimensional schema information. OLE DB for OLAP defines the additional schema rowsets you need to retrieve this information. For more information, see the OLE DB documentation.

In a COM and C++ environment, you can also use the Microsoft ActiveX® Data Objects (Multidimensional) (ADO MD) libraries with late binding.

For more information, see Visual C++ and ADO.