A Sandcastle Documented Class Library

# OlapLevel Constructor

Initializes a new instance of the OlapLevel class.

Namespace: Dundas.BI.Data.Metadata.Olap
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public OlapLevel(
    	OlapHierarchy parentHierarchy,
    	string uniqueName,
    	LevelType levelType,
    	int levelDepth
    )

    Public Sub New (
    	parentHierarchy As OlapHierarchy,
    	uniqueName As String,
    	levelType As LevelType,
    	levelDepth As Integer
    )

    public:
    OlapLevel(
    	OlapHierarchy^ parentHierarchy,
    	String^ uniqueName,
    	LevelType levelType,
    	int levelDepth
    )

    new :
            parentHierarchy : OlapHierarchy *
            uniqueName : string *
            levelType : LevelType *
            levelDepth : int -> OlapLevel

#### Parameters

parentHierarchy
  Type: Dundas.BI.Data.Metadata.Olap
  OlapHierarchy
  The parent hierarchy.
uniqueName
  Type: System
  String
  The element unique name.
levelType
  Type: Dundas.BI.Data.Metadata
  LevelType
  Type of the level.
levelDepth
  Type: System
  Int32
  The level depth.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | parentHierarchy or uniqueName is .
ArgumentException | uniqueName is or an empty string.

See Also

#### Reference

OlapLevel Class
Dundas.BI.Data.Metadata.Olap Namespace