Gets the dimension's hierarchy type designation: Multiple hierarchies enabled, dynamic hierarchy, or stored hierarchy.
Syntax
ESS_FUNC_M EssOtlGetHierarchyType(hOutline, hMember, pType);
Parameter | Data Type | Description |
---|---|---|
hOutline | ESS_HOUTLINE_T | Outline context handle (input). |
hMember | ESS_HMEMBER_T | A dimension member (input). |
pType | ESS_UCHAR_T | If hMember is a dimension member, one of the following values (output):
See Notes. |
Notes
Once the dimension is multiple-hierarchy enabled, the hierarchy types are determined by the generation 2 members. If hMember is a generation 2 member, pType can return the following values:
ESS_STORED_HIERARCHY—The hierarchy with hMember as top is a single, stored hierarchy.
ESS_DYNAMIC_HIERARCHY—The hierarchy with hMember as top is a single, dynamic hierarchy.
ESS_MULTIPLE_HIERARCHY_NOT_ENABLED—The dimension is not multiple- hierarchy enabled.
If hMember is of a generation greater than 2, pType returns ESS_NOT_HIERARCHY_MEMBER.
Return Value
Returns 0 if successful; otherwise, returns an error.
See Also