We recommend using Visual Studio 2017

LevelCollection.Enumerator.Current Property

Gets the current Level in the LevelCollection.

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

public Level Current { get; }

Property Value

Type: Microsoft.AnalysisServices.AdomdServer.Level
The Level in the LevelCollection, if the enumerator has not passed the end of the collection.

ExceptionCondition
InvalidOperationException

The enumerator is currently before the first or after the last Level in the LevelCollection.

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: