IRdsDatabaseInstance.AttributeTypeFolders

Syntax

AttributeTypeFolders: IRdsAttributeTypeFolders;

Description

The AttributeTypes property returns parameters of a dictionary root of MDM repository attribute types.

Example

Executing the example requires an MDM repository with the NSI_1 identifier.

Sub Main;

Var

MB: IMetabase;

NSI: IRdsDatabase;

NSIInst: IRdsDatabaseInstance;

Folders: IRdsAttributeTypeFolders;

Begin

MB := MetabaseClass.Active;

NSI := MB.ItemById("NSI_1").Edit As IRdsDatabase;

NSIInst := NSI.Open(Null);

Folders := NSIInst.AttributeTypeFolders;

Folders.Item(0).Name := Root;

NSIInst.Save;

(NSI As IMetabaseObject).Save;

End Sub Main;

After executing the example a dictionary root of MDM repository attribute types is renamed.

See also:

IRdsDatabaseInstance