Propriedade do RDL Context.CurrentCube
Gets the current cube.
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (em msmgdsrv.dll)
Sintaxe
'Declaração
Public Shared ReadOnly Property CurrentCube As CubeDef
Get
'Uso
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
Valor da propriedade
Tipo: Microsoft.AnalysisServices.AdomdServer.CubeDef
A CubeDef that represents the current cube; nulluma referência nula (Nothing no Visual Basic) if not applicable.
Comentários
The return value will be nulluma referência nula (Nothing no 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 Funções e procedimentos armazenados definidos pelo usuário.