Context.CurrentCube 属性
Gets the current cube.
命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv(在 msmgdsrv.dll 中)
语法
声明
Public Shared ReadOnly Property CurrentCube As CubeDef
Get
用法
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
属性值
类型:Microsoft.AnalysisServices.AdomdServer.CubeDef
A CubeDef that represents the current cube; nullnull 引用(在 Visual Basic 中为 Nothing) if not applicable.
注释
The return value will be nullnull 引用(在 Visual Basic 中为 Nothing) 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 用户定义函数和存储过程.