ICubeMetaUpdateAttributeRemappings.Count

Syntax

Count: Integer;

Description

The Count property returns the number of correspondences in the collection.

Example

Executing the example requires that the repository contains an object with the Cube_Meta_Upd identifier that contains settings for copying a time series database.

Sub Main;

Var

mb: IMetabase;

RubUpdateEx: ICubeMetaUpdateEx;

i: Integer;

AttrRemapping: ICubeMetaUpdateAttributeRemappings;

AttrR: ICubeMetaUpdateAttributeRemapping;

Begin

mb := MetabaseClass.Active;

RubUpdateEx := Mb.ItemById("Cube_Meta_Upd").Bind As ICubeMetaUpdateEx;

AttrRemapping := RubUpdateEx.MetafactsAttributeRemappings;

For i := 0 To AttrRemapping.Count - 1 Do

AttrR := AttrRemapping.Item(i);

Debug.WriteLine(AttrR.Name);

End For;

End Sub Main;

After executing the example the object that contains settings for copying the time series database is loaded. The console window displays names of all factors attributes of the database copy, which are set into correspondence with the factors attributes in the copied database.

See also:

ICubeMetaUpdateAttributeRemappings