Bahasa
Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Gets the current cube.
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Syntax
'Declaration
Public Shared ReadOnly Property CurrentCube As CubeDef
Get
'Usage
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
Property Value
Type: Microsoft.AnalysisServices.AdomdServer.CubeDef
A CubeDef that represents the current cube; nulla null reference (Nothing in Visual Basic) if not applicable.
Remarks
The return value will be nulla null reference (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 User Defined Functions and Stored Procedures.