Поделиться через


Свойство Current

Gets the current CubeDef in the CubeCollection.

Пространство имен:  Microsoft.AnalysisServices.AdomdClient
Сборка:  Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)

Синтаксис

'Декларация
Public ReadOnly Property Current As CubeDef
    Get
'Применение
Dim instance As CubeCollection..::..Enumerator
Dim value As CubeDef

value = instance.Current
public CubeDef Current { get; }
public:
property CubeDef^ Current {
    CubeDef^ get ();
}
member Current : CubeDef
function get Current () : CubeDef

Значение свойства

Тип Microsoft.AnalysisServices.AdomdClient. . :: . .CubeDef
The current CubeDef in the CubeCollection, if the Enumerator has not passed the end of the collection.

Исключения

Исключение Условие
System..::..InvalidOperationException

The Enumerator is currently before the first or after the last cube in the CubeCollection.