ICubeModelDimensionEx.Name

Syntax

Name: String;

Description

The Name property determines dimension name within this cube. This name is displayed in all objects, to which this cube is included.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Cub: ICubeModel;

Dims: ICubeModelDimensionsEx;

Dim: ICubeModelDimensionEx;

Begin

Mb := MetabaseClass.Active;

MObj := Mb.ItemById("Test_Cube").Edit;

Cub := MObj As ICubeModel;

Dims := Cub.Destinations.DefaultDestination.DimensionsEx;

Dims.Item(0).Name := "New name " + Dims.Item(0).Name;

MObj.Save;

End Sub Main;

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

See also:

ICubeModelDimensionEx