SupportsElementDependencies: Boolean;
The SupportsElementDependencies property returns whether the class tracks changes in MDM dictionaries.
If class tracks changes in MDM dictionary property returns value True, otherwise - False.
This property is relevant for regular reports, express reports, virtual cubes, workbooks, validations, models, metamodels, custom objects, import/export objects, replication. If in the object properties dialog box the Track Changes of Elements in MDM Dictionaries checkbox is selected on the Consists Of tab, then the SupportsElementDependencies property is set to True.
Default value is False.
To execute the example, add a link to the Metabase assembly.
Sub UserProc;
Var
Man: IMetabaseManager;
Classes: IDbClasses;
Cls: IDbClass;
i, c: Integer;
Begin
Man := MetabaseManagerFactory.Active;
Classes := Man.Classes;
c := Classes.Count;
For i := 0 To c - 1 Do
Cls := Classes.Item(i);
Debug.WriteLine("Name: " + Cls.Name + "; Support of MDM: " + Cls.SupportsElementDependencies.ToString);
End For;
End Sub UserProc;
After executing the example the development environment console displays a list that consists of classes names and messages whether they track changes in MDM dictionaries.
See also: