ICubeInstanceDestination.UpdateCache

Syntax

UpdateCache;

Description

The UpdateCache method updates cache of the opened cube instance.

Example

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

Add links to the Metabase, Cubes system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Cube: ICubeInstance;
    DefDes: ICubeInstanceDestination;
Begin
    Mb := MetabaseClass.Active;
    Cube := Mb.ItemById("CUBE_WDI").Open(NullAs ICubeInstance;
    DefDes := Cube.Destinations.DefaultDestination;
    DefDes.UpdateCache;
End Sub UserProc;

After executing the example the specified cube cache is updated.

See also:

ICubeInstanceDestination