Partager via


Propriété CurrentCube

Gets the current cube.

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

Syntaxe

'Déclaration
Public Shared ReadOnly Property CurrentCube As CubeDef
    Get
'Utilisation
Dim value As CubeDef

value = Context.CurrentCube
public static CubeDef CurrentCube { get; }
public:
static property CubeDef^ CurrentCube {
    CubeDef^ get ();
}
static member CurrentCube : CubeDef
static function get CurrentCube () : CubeDef

Valeur de propriété

Type : Microsoft.AnalysisServices.AdomdServer. . :: . .CubeDef
A CubeDef that represents the current cube; nullNothingnullptrunitune référence Null (Nothing dans Visual Basic) if not applicable.

Notes

The return value will be null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) when called from a Data Mining Extensions (DMX) query, or as a stored procedure. For more information about the differences between user-defined functions (UDFs) and stored procedures, see Fonctions définies par l'utilisateur et procédures stockées.