Condividi tramite


Proprietà Context.CurrentCube

Gets the current cube.

Spazio dei nomi  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
Public Shared ReadOnly Property CurrentCube As CubeDef 
    Get
'Utilizzo
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

Valore proprietà

Tipo: Microsoft.AnalysisServices.AdomdServer.CubeDef
A CubeDef that represents the current cube; nullriferimento Null (Nothing in Visual Basic). if not applicable.

Osservazioni

The return value will be nullriferimento Null (Nothing in 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 Funzioni definite dall'utente e stored procedure.

Vedere anche

Riferimento

Context Classe

Spazio dei nomi Microsoft.AnalysisServices.AdomdServer