UpdateCache;
The UpdateCache method updates cache of the opened cube instance.
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(Null) As ICubeInstance;
DefDes := Cube.Destinations.DefaultDestination;
DefDes.UpdateCache;
End Sub UserProc;
After executing the example the specified cube cache is updated.
See also: