IMetabaseObjectDescriptor.Parent

Syntax

Parent: IMetabaseObjectDescriptor;

Description

The Parent property returns description of the object-owner.

Example

Executing the example requires that the repository contains an object with the Obj111 identifier.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    MB: IMetabase;
    Desc, ParentDesc: IMetabaseObjectDescriptor;
Begin
    MB := MetabaseClass.Active;
    Desc := Mb.ItemById(
"obj111");
    ParentDesc := Desc.Parent;
End Sub UserProc;

After executing the example the ParentDesc variable contains description of the object-owner of the object with the obj111 identifier.

See also:

IMetabaseObjectDescriptor