다음을 통해 공유


CurrentCube 속성

Gets the current cube.

네임스페이스:  Microsoft.AnalysisServices.AdomdServer
어셈블리:  msmgdsrv.dll의 msmgdsrv

구문

‘선언
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; nullNothingnullptrunitnull 참조(Visual Basic에서는 Nothing) if not applicable.

주의

The return value will be null Nothing nullptr unit null 참조(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 사용자 정의 함수 및 저장 프로시저.