IMetaIndex.Enabled

Syntax

Enabled: Boolean;

Description

The Enabled property determines whether index is enabled.

Comments

Available values:

This property can be used to create non-unique indexes in table MDM dictionary child table. To do this:

  1. Create or get the existing non-unique key in the table MDM dictionary.

  2. Cast the obtained key to the IMetaIndex interface.

  3. Set the Enabled property to True.

  4. Save changes.

As a result, a non-unique index is created in the table MDM dictionary child table based on the non-unique key from the table MDM dictionary. This index speeds up query execution.

NOTE. If the non-unique key in the table MDM dictionary contains imported attributes or attributes with multiple values, a non-unique index cannot be created on its basis.

To get the example, see the Creating a Non-Unique Index in Table MDM Dictionary Table section.

Example

The property use is given in the example for the IMetaAttribute.Group.

See also:

IMetaIndex