Returns information about the specified dimension, including the properties available for members in this dimension.
ESS_FUNC_M EssMdxGetDimInfo( ESS_MDX_DIMHDL_T hDim, ESS_PSTR_T ppszName, ESS_PULONG_T pulNProps, ESS_MDX_PPPROPHDL_T pphProps);
Parameter | Type | Description |
---|---|---|
hDim | input | Dimension handle |
ppszDimName | output | Dimension name |
pulNProps | output | Number of properties returned |
pphProps | output | Array of property handles |
Before calling this query, you should call EssMdxGetAxisInfoto get dimensions represented on an axis.
To get the properties of a dimension:
Call EssMdxNewQuery to create a query.
Call EssMdxExecuteQuery to execute the query.
Call EssMdxGetAxes to get the number of axes and the individual axis handles from the result of the query.
Call EssMdxGetAxisInfo to get information (dimensions/tuples) for an individual axis from an axis handle.
Call EssMdxGetDimInfo to get information for a dimension (dimension name, number of properties for this dimension, and property handles).
Call EssMdxGetPropertyInfo to get the dimension properties. To get properties, the MDX query in EssMdxQuery must use the DIMENSION PROPERTIES option.