IStandardCube.Destinations

Syntax

Destinations: IStandardCubeDestinations;

Description

The Destinations property returns the collection of display versions of standard cube.

Example

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

Sub Main;

Var

MB: IMetabase;

StandCub: IStandardCube;

Dest: IStandardCubeDestination;

i: Integer;

Begin

MB := MetabaseClass.Active;

StandCub := MB.ItemById("Stan_Cube").Bind As IStandardCube;

For i := 0 To StandCub.Destinations.Count - 1 Do

Dest := StandCub.Destinations.Item(i);

Debug.WriteLine(Dest.Name);

End For;

End Sub Main;

After executing the example names of cube display versions are displayed in the console.

See also:

IStandardCube