IAutoCubeDimensions.Calendar

Syntax

Calendar: IAutoCubeDimension;

Description

The Calendar property returns the calendar dimension of an automatic cube.

Example

Executing the example requires that the repository contains an automatic cube with AUTO_CUBE identifier.

Sub UserProc;
Var
    MB: IMetabase;
    AutoCube: IAutoCube;
    CalDim: IAutoCubeDimension;
Begin
    MB := MetabaseClass.Active;
    AutoCube := MB.ItemById("AUTO_CUBE").Bind As IAutoCube;
    CalDim := AutoCube.Dimensions.Calendar;
    Debug.WriteLine((CalDim.Dimension As IMetabaseObjectDescriptor).Id);
End Sub UserProc;

After executing the example the development environment console displays identifier of the dictionary that is a calendar dimension in the automatic cube.

See also:

IAutoCubeDimensions