ICubeModelDestinations.DefaultDestination

Syntax

DefaultDestination: ICubeModelDestination;

Description

The DefaultDestination property returns default cube display version.

Example

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

Sub Main;

Var

MB: IMetabase;

Cub: ICubeModel;

Begin

MB := MetabaseClass.Active;

Cub := MB.ItemById("Cube_Sep").Bind As ICubeModel;

Debug.WriteLine(Cub.Destinations.DefaultDestination.Name);

End Sub Main;

After executing the example the console window displays the name of the default display version for the cube with the Cube_Sep identifier.

See also:

ICubeModelDestinations