![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have finally found where is the description of a level using the ADOMD.NET API... this code return an empty string for system hierarchies (direct attributes access) but works fine for user defined hierarhcies: For Each olevel In ohier.Levels Console.WriteLine(olevel.Description) Next but this code return the description of both user defined and system defiend hierarchies: For Each olevel In ohier.Levels If olevel.LevelProperties.Count = 1 Then Console.WriteLine( olevel.LevelProperties(0).Description) else Console.WriteLine(olevel.Description) end if Next If I'm using the LevelProperties property of the Level object, I can get the description. but I don't understand why a direct call to "Level.Description" doesn't returns the description of the level... is it a bug in the API? Jerome. |
![]() |
| Thread Tools | |
| Display Modes | |
| |