Member.LevelDepth Property
Gets the ordinal position of the level that contains the Member.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Public ReadOnly Property LevelDepth As Integer
Get
'Usage
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
Property Value
Type: System.Int32
An int that contains the ordinal position within the parent hierarchy of the level that contains the Member.
Remarks
This property is functionally equivalent to Member.ParentLevel.LevelNumber, but it provides better performance. For more information, see LevelNumber.