Compartilhar via


Propriedade Current

Gets the current CubeDef in the CubeCollection.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxe

'Declaração
Public ReadOnly Property Current As CubeDef
    Get
'Uso
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

Valor da propriedade

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

Exceções

Exceção Condição
System..::..InvalidOperationException

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