IMetabaseObjectDescriptor.Link

Syntax

Link: IMetabaseObjectDescriptor;

Description

The Link property determines connection of this object with the object that has "Repository Connection" type.

Example

Sub Main;

Var

MB: IMetabase;

Desc, Desc1: IMetabaseObjectDescriptor;

Begin

MB:=MetabaseClass.Active;

Desc:=Mb.ItemById("objX");

Desc1:=Desc.Link;

End Sub Main;

If the object with the objX identifier is in another repository, after executing this example the Desc variable contains the description of this object, the Desc1 variable contains description of the object that connects with another repository.

See also:

IMetabaseObjectDescriptor