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 使用者定義函數和預存程序.