Share via


Member.ParentLevel Property

This property gets a Level that contains the Member.

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

Syntax

'Declaration
Public ReadOnly Property ParentLevel As Level
    Get
'Usage
Dim instance As Member
Dim value As Level

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

Property Value

Type: Microsoft.AnalysisServices.AdomdClient.Level
A Level that contains the Member.

Remarks

Each member is associated with a level within a hierarchy. Levels specify the contents and structure of the hierarchy. That is, the level definitions determine the members that are included and their positions relative to one another within the hierarchy.

The ParentLevel property returns a Level with which the Member is associated for a given hierarchy.

Note

Accessing this property may require a round-trip to the server if the Member is populated by CellSet, GetChildren, or GetMembers.