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 UserProc;
Var
    MB: IMetabase;
    Cube: ICubeModel;
Begin
    MB := MetabaseClass.Active;
    Cube := MB.ItemById("Cube_Sep").Bind As ICubeModel;
    Debug.WriteLine(Cube.Destinations.DefaultDestination.Name);
End Sub UserProc;

After executing the example the console displays name of a default cube display version.

See also:

ICubeModelDestinations