Share via


Hierarchy.Levels Property

Gets a LevelCollection that contains the levels of the Hierarchy.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public ReadOnly Property Levels As LevelCollection
    Get
'Usage
Dim instance As Hierarchy
Dim value As LevelCollection

value = instance.Levels
public LevelCollection Levels { get; }
public:
property LevelCollection^ Levels {
    LevelCollection^ get ();
}
member Levels : LevelCollection
function get Levels () : LevelCollection

Property Value

Type: Microsoft.AnalysisServices.AdomdClient.LevelCollection
A LevelCollection that contains the levels of the Hierarchy.