Condividi tramite


CubeCollection.Enumerator.Current Property

Gets the current CubeDef in the CubeCollection.

Spazio dei nomi: Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property Current As CubeDef
public CubeDef Current { get; }
public:
property CubeDef^ Current {
    CubeDef^ get ();
}
/** @property */
public CubeDef get_Current ()
public function get Current () : CubeDef

Valore proprietà

The current CubeDef in the CubeCollection, if the Enumerator has not passed the end of the collection.

Eccezioni

Tipo di eccezione Condizione
System.InvalidOperationException

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

CubeCollection.Enumerator Structure
CubeCollection.Enumerator Members
Microsoft.AnalysisServices.AdomdClient Namespace