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 UserProc;
Var
    Mb: IMetabase;
    RubUpdateEx: ICubeMetaUpdateEx;
    AttrRemapping: ICubeMetaUpdateAttributeRemappings;
    AttrR: ICubeMetaUpdateAttributeRemapping;
    i: Integer;
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 UserProc;

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

See also:

ICubeMetaUpdateAttributeRemappings