Enabled: Boolean;
Enabled: boolean;
The Enabled property determines whether index is enabled.
Available values:
True. Index is enabled.
False. Index is disabled and not physically created.
This property can be used to create non-unique indexes in table MDM dictionary child table. To do this:
Create or get the existing non-unique key in the table MDM dictionary.
Cast the obtained key to the IMetaIndex interface.
Set the Enabled property to True.
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.
The property use is given in the example for the IMetaAttribute.Group.
See also: