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 OBJ153 identifier. Add links to the Metabase, Cubes system assemblies.
Sub UserProc;
Var
mb: IMetabase;
rub: IRubricator;
Begin
mb := MetabaseClass.Active;
rub := mb.ItemById("OBJ153").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 with the OBJ153 identifier.
See also: