EssOtlSetHierarchyType

Sets the dimension's hierarchy type designation: Multiple hierarchies enabled, dynamic hierarchy, or stored hierarchy.

Syntax

ESS_FUNC_M EssOtlSetHierarchyType(hOutline, hMember, cType);
ParameterData TypeDescription

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):

  • ESS_STORED_HIERARCHY—The dimension is a single, stored hierarchy.

  • ESS_DYNAMIC_HIERARCHY—The dimension is a single, dynamic hierarchy.

  • ESS_MULTIPLE_HIERARCHY_IS_ENABLED—The dimension is multiple-hierarchy enabled (same as using EssOtlSetAltHierarchyEnabled).

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:

Return Value

Returns 0 if successful; otherwise, returns an error.

See Also