Item(Index: Integer): IEtlPlainLink;
Index. Index of ETL task objects link.
The Item property returns the linking object, which index is passed by the Index parameter.
Sub UserProc;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Links: IEtlPlainLinks;
Link: IEtlPlainLink;
Begin
MB := MetabaseClass.Active;
EtlTask := MB.ItemById("ETL").Bind As IEtlTask;
Links := EtlTask.Links;
Link := Links.Item(0);
End Sub UserProc;
After executing the example the Link variable contains the first link of ETL task objects. The repository object has the ETL identifier.
See also: