A client connects to Microsoft® PivotTable® Service through the OLE DB for OLAP interfaces. Additional special properties for the Data Source object are used to declare connection criteria specific to Microsoft PivotTable Service, such as creating a local cube, when initializing a session.
Microsoft PivotTable Service also supports ODBC connections. The OLEDB _SOURCE_DSN property may contain either:
The provider may be either a Microsoft OLAP Server or Microsoft PivotTable Service.
Property | Description |
DBPROP_INIT_DATASOURCE | Name of server machine or local cube file |
DBPROP_INIT_CATALOG | Name of default (initial) database (catalog) |
DBPROP_AUTH_USERUID | Ignored in this release |
DBPROP_AUTH_PASSWORD | Ignored in this release |
DBPROP_INIT_ASYNCH | Used for asynchronous initialization |
MDPROP_INIT_CREATE_CUBE | (optional) CREATE CUBE statement to create a local cube file Otherwise: NULL |
MDPROP_INIT_INSERT_INTO | (optional) INSERT INTO statement to populate a local cube file created with CREATE CUBE Otherwise: NULL |
DBPROP_MSMD_SOURCE_DSN | ODBC connection string, OLEDB connection string, or DSN for source relational database, used only when creating a local cube file |
DBPROP_MSMD_SOURCE_UID | ODBC UID for source relational database, used only when creating a local cube file |
DBPROP_MSMD_SOURCE_PWD | ODBC PWD for source relational database, used only when creating a local cube file |
DBPROP_INIT_PROVIDERSTRING | A predefined string containing other initialization properties. |
MSMD_USEEXISTINGFILE | If the first character of this string is Y, T, or a numeric digit other than 0, CREATE CUBE and INSERT INTO properties will be ignored. |
MSMD_ARTIFICIALDATA | If the first character of this string is Y, T, or a numeric digit other than 0, artificial aggregate values will be calculated using a simple algorithm instead of calculating real values. |
The following notes about properties apply when connecting to Microsoft PivotTable Service: