Link: IEtlPlainLink;
The Link property returns the link to object linking ETL objects.
Sub UserProc;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Consumer: IEtlPlainDataConsumer;
Link: IEtlPlainLink;
Begin
MB := MetabaseClass.Active;
EtlTask := MB.ItemById("ETL").Bind As IEtlTask;
Consumer := EtlTask.Item(1) As IEtlPlainDataConsumer;
Link := Consumer.PlainInput.Link;
End Sub UserProc;
After executing the example the Link variable contains linking object of ETL task consumer object. The repository object has the ETL identifier.
See also: