Partager via


ParentLevel propriété

This property gets a Level that contains the Member.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (dans Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ParentLevel As Level
    Get
'Utilisation
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

Valeur de la propriété

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

Notes

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.

[!REMARQUE]

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