ICubeModelDimensionEx.Name

Syntax

Name: String;

Description

The Name property determines dimension name within this cube.

Comments

This name is displayed in all objects, to which this cube is included.

Example

Executing the example requires that the repository contains a cube with the Test_Cube identifier.

Sub UserProc;
Var
    Mb: IMetabase;
    Cube: ICubeModel;
    Dims: ICubeModelDimensionsEx;
Begin
    Mb := MetabaseClass.Active;
    Cube := Mb.ItemById("Test_Cube").Edit As ICubeModel;
    Dims := Cube.Destinations.DefaultDestination.DimensionsEx;
    Dims.Item(0).Name := "New name " + Dims.Item(0).Name;
    (Cube As IMetabaseObject).Save;
End Sub UserProc;

After executing the example name is changed for the first dimension within this cube.

See also:

ICubeModelDimensionEx