Module: IMetabaseObjectDescriptor;
The Module property returns description of the unit that implements a class for handling data extraction query generation.
The unit and class for handling data extraction query generation are set by means of the SetCallback method.
Executing the example requires that the repository contains a standard cube with the STD_CUBE identifier. Add links to the Cubes and Metabase system assemblies.
Sub UserProc;
Var
MB: IMetabase;
Cube: IStandardCube;
CubeDataset: IStandardCubeDataset;
Begin
MB := MetabaseClass.Active;
Cube := MB.ItemById("STD_CUBE").Edit As IStandardCube;
CubeDataset := Cube.Destinations.Item(0).Datasets.Item(0);
If Not IsNull(CubeDataset.Module) Then
CubeDataset.SetCallback(Null, "");
End If;
(Cube As IMetabaseObject).Save;
End Sub UserProc;
On executing the example, if the unit and the class for handling data extraction query generation are set, it will be reset.
See also: