IMetabaseObjectCreateInfo.Permanent

Syntax

Permanent: Boolean;

Description

The Permanent property determines whether a permanent repository object is created.

Comments

Available values:

Example

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    CrInfo: IMetabaseObjectCreateInfo;
Begin
    MB := MetabaseClass.Active;
    CrInfo := MB.CreateCreateInfo;
    CrInfo.ClassID := MetabaseObjectClass.KE_CLASS_FOLDER;
    CrInfo.Id := "NewFolder";
    CrInfo.Name := New folder;
    CrInfo.Permanent := True;
    MB.CreateObject(CrInfo);
End Sub UserProc;

A new folder is created in the root folder of the repository root after executing this example.

See also:

IMetabaseObjectCreateInfo