Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Context.CurrentCube Property

Gets the current cube.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public static CubeDef CurrentCube { get; }

Property Value

Type: Microsoft.AnalysisServices.AdomdServer.CubeDef
A CubeDef that represents the current cube; null if not applicable.

The return value will be null 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 User Defined Functions and Stored Procedures.

Community Additions

Show:
© 2015 Microsoft