共用方式為


Member.ParentLevel 屬性

This property gets a Level that contains the Member.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public ReadOnly Property ParentLevel As Level 
    Get
'用途
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

屬性值

型別:Microsoft.AnalysisServices.AdomdClient.Level
A Level that contains the Member.

備註

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.

[!附註]

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

請參閱

參考

Member 類別

Microsoft.AnalysisServices.AdomdClient 命名空間