Partager via


Propriété Current

Gets the current CubeDef in the CubeCollection.

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (en msmgdsrv.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

Exceptions

Exception Condition
[InvalidOperationException]

The Enumerator is currently before the first or after the last cube in the CubeCollection. For more information about this exception, see InvalidOperationException Class.