Appendix A

CoTypes

This appendix lists the CoTypes for OLE DB for OLAP objects. It also lists the CoTypes for OLE DB objects enhanced by OLE DB for OLAP.

Sessions

Note   For exclusively multidimensional providers, IOpenRowset is an optional interface and IDBCreateCommand is a mandatory interface.

CoType TSession {
   [mandatory]   interface IGetDataSource;
   [mandatory]   interface IOpenRowset;
   [mandatory]   interface ISessionProperties;
   [optional]   interface IDBCreateCommand;
   [optional]   interface IDBSchemaRowset;
   [optional]   interface IIndexDefinition;
   [optional]   interface ISupportErrorInfo;
   [optional]   interface ITableDefinition;
}

Datasets

CoType TDataset {
   [mandatory]   interface IMDDataset;
   [mandatory]   interface IAccessor;
   [mandatory]   interface IConvertType;
   [mandatory]   interface IColumnsInfo;
   [optional]   interface IMDFind;
   [optional]   interface IMDRangeRowset;
   [optional]   interface ISupportErrorInfo;
}