HierarchyCollection.Enumerator.Current Property

Gets the current Hierarchy in the HierarchyCollection.

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

public Hierarchy Current { get; }

ExceptionCondition
InvalidOperationException

The enumerator is currently before the first or after the last Hierarchy in the HierarchyCollection.

After creating an enumerator or after a Reset, MoveNext must be called to advance the enumerator to the first element of the collection before reading the value of Current. Otherwise, Current is undefined.

Community Additions

Show: