Sets the dimension's hierarchy type designation: Multiple hierarchies enabled, dynamic hierarchy, or stored hierarchy.
Syntax
ESS_FUNC_M EssOtlSetHierarchyType(hOutline, hMember, cType);
Parameter | Data Type | Description |
---|---|---|
hOutline | ESS_HOUTLINE_T | Outline context handle (input). |
hMember | ESS_HMEMBER_T | A dimension member (input). |
cType | ESS_UCHAR_T | If hMember is a dimension member, one of the following values (input):
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, cType can have 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.
Return Value
Returns 0 if successful; otherwise, returns an error.
See Also