共用方式為


LevelDepth 屬性

Gets the ordinal position of the level that contains the Member.

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

語法

'宣告
Public ReadOnly Property LevelDepth As Integer
    Get
'用途
Dim instance As Member
Dim value As Integer

value = instance.LevelDepth
public int LevelDepth { get; }
public:
property int LevelDepth {
    int get ();
}
member LevelDepth : int
function get LevelDepth () : int

屬性值

型別:System. . :: . .Int32
An int that contains the ordinal position within the parent hierarchy of the level that contains the Member.

備註

This property is functionally equivalent to Member.ParentLevel.LevelNumber, but it provides better performance. For more information, see LevelNumber.