'Declaration Public Class LevelDescriptor Inherits OlapElementDescriptorBase
public class LevelDescriptor : OlapElementDescriptorBase
A hierarchical level represents a grouping of the data associated with a hierarchy.
When a hierarchy is auto-generated via the data source's GenerateCube method, two levels are produced. The first level is known as the 'All Members' level and provides a way for the user to hide the data for that hierarchy by collapsing the associated header. The second level typically produces a header for each distinct value of the property associated with the hierarchy.
Hierarchies which are associated with the System.DateTime data type are auto-generated differently. The DateTimeLevelCreation property of the parameters object used to customize level creation provides a way to specify the manner in which date fields are presented.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2