We recommend using Visual Studio 2017

HierarchyCollection.Enumerator Class

Supports iterating over a HierarchyCollection and reading its individual Hierarchy objects.


Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public sealed class Enumerator : IEnumerator

The HierarchyCollection.Enumerator type exposes the following members.

Public propertyCurrentGets the current Hierarchy in the HierarchyCollection.

Public method{dtor}Releases all resources used by the HierarchyCollection.Enumerator.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodMoveNextMoves to the next Hierarchy in the HierarchyCollection.
Public methodResetSets the enumerator to its initial position, which is before the first element in the collection.
Public methodToString (Inherited from Object.)

In JScript, you can use the structures in the Microsoft .NET Framework, but you cannot define your own.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.