Partager via


LevelDepth propriété

Gets the ordinal position of the 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 LevelDepth As Integer
    Get
'Utilisation
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

Valeur de la propriété

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

Notes

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