Link: IMetabaseObjectDescriptor;
The Link property determines a link between this object and the object that has the Repository Connection type.
Executing the example requires that another repository contains an object with the ObjTest identifier.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
Desc, Desc1: IMetabaseObjectDescriptor;
Begin
MB := MetabaseClass.Active;
Desc := Mb.ItemById("ObjTest");
Desc1 := Desc.Link;
End Sub UserProc;
After executing the example, if the specified object is in another repository, the Desc variable contains description of this object, and the Desc1 variable contains description of the object that provides link to another repository.
See also: