CollectGarbage;
The CollectGarbage method removes the series, in which the values of identifying attributes were removed from the dictionary.
Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier.
Add links to the Cubes and Metabase system assemblies.
Sub UserProc;
Var
mb: IMetabase;
rub: IRubricator;
Begin
mb := MetabaseClass.Active;
rub := mb.ItemById("OBJ_RUBRICATOR").Bind As IRubricator;
rub.CollectGarbage;
End Sub UserProc;
After executing the example the series, in which the values of identifying attributes were removed from the dictionary, will be removed from the time series database.
See also: