ICubeMetaUpdateAdditionalObjects.Clear

Syntax

Clear;

Description

The Clear method clears objects collection.

Comments

After calling this method the value of the ICubeMetaUpdateAdditionalObjects.Count property is equal to null.

Example

Executing the example requires that the repository contains a replication object with the CUBE_META_UPD identifier. Add links to the Cubes and Metabase system assemblies.

    Sub UserProc;
    Var
        Mb: IMetabase;
        Update: ICubeMetaUpdateEx;
        AdditionalObjs: ICubeMetaUpdateAdditionalObjects;
    Begin
        Mb := MetabaseClass.Active;
        Update := Mb.ItemById("CUBE_META_UPD").Edit As ICubeMetaUpdateEx;
        AdditionalObjs := Update.AdditionalObjects;
        AdditionalObjs.Clear;
        (Update As IMetabaseObject).Save;
    End Sub UserProc;

After executing the example parameters of time series database copying are changed: the database is copied without external objects.

See also:

ICubeMetaUpdateAdditionalObjects