Partager via


Propriété CubeCollection.Enumerator.Current

Gets the current CubeDef in the CubeCollection.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public ReadOnly Property Current As CubeDef 
    Get
'Utilisation
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

Valeur de propriété

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

Exceptions

Exception Condition
System.InvalidOperationException

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

Voir aussi

Référence

CubeCollection.Enumerator Structure

Espace de noms Microsoft.AnalysisServices.AdomdClient