MDAC 2.5 SDK - OLE DB Programmer's Reference
Chapter 22: OLE DB for OLAP Objects and Schema Rowsets


 

Multidimensional Schema Object Names

Rules for naming objects in a multidimensional schema are provider-specific. For example, a provider might have a restriction that all cube names should be fewer than 15 characters long and that the character "&" may not occur in a cube name.

IDBInfo::GetLiteralInfo, using the DBLITERALINFO structure, provides the means for retrieving information about these types of literals.

OLE DB for OLAP adds the constants described in the following table to the DBLITERAL enumeration.

Note   The pwszLiteralValue of the DBLITERALINFO structure is not used for any of these values of DBLITERAL.

Value Description
DBLITERAL_CUBE_NAME A cube name in an MDX command.
DBLITERAL_DIMENSION_NAME A dimension name in an MDX command.
DBLITERAL_HIERARCHY_NAME A hierarchy name in an MDX command.
DBLITERAL_LEVEL_NAME A level name in an MDX command.
DBLITERAL_MEMBER_NAME A member name in an MDX command.
DBLITERAL_PROPERTY_NAME A property name in an MDX command.