Class Level
Represents a level within a hierarchy.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Olap.Data
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class Level : IDisposable
Remarks
Dimensions are complex structures in Microsoft SQL Server 2005 Analysis Services (SSAS), containing members that are organized into levels, which in turn are organized into hierarchies. In ADOMD.NET, levels are represented by the Level class.
Constructors
Level()
Initializes a new instance of the Level class.
Declaration
public Level()
Properties
Caption
Gets or sets the caption.
Declaration
public string Caption { get; set; }
Property Value
Type | Description |
---|---|
System.String | The caption. |
CubeSchema
Gets or sets the cube schema.
Declaration
public CubeSchema CubeSchema { get; set; }
Property Value
Type | Description |
---|---|
CubeSchema | The cube schema. |
Description
Gets or sets the description.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The description. |
IsMemberLoadedOnDemand
Gets or sets a value indicating whether this instance is member loaded on demand.
Declaration
public bool IsMemberLoadedOnDemand { get; set; }
Property Value
Type |
---|
System.Boolean |
LevelDepth
Gets the level depth.
Declaration
public int LevelDepth { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The level depth. |
LevelType
Gets or sets the type of the level.
Declaration
public LevelTypeEnum LevelType { get; set; }
Property Value
Type | Description |
---|---|
LevelTypeEnum | The type of the level. |
MemberCount
Gets or sets the member count.
Declaration
public long MemberCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 | The member count. |
Members
Gets the members.
Declaration
public MemberCollection Members { get; }
Property Value
Type | Description |
---|---|
MemberCollection | The members. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the Level |
ParentHierarchy
Gets or sets the parent hierarchy.
Declaration
public Hierarchy ParentHierarchy { get; set; }
Property Value
Type | Description |
---|---|
Hierarchy | The parent hierarchy. |
Properties
Gets the collection of properties.
Declaration
public PropertyCollection Properties { get; }
Property Value
Type | Description |
---|---|
PropertyCollection | The collection of properties. |
UniqueName
Gets or sets the unique name.
Declaration
public string UniqueName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The unique name as string. |
Visible
Gets or sets a value indicating whether this Level is visible.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |