Count: Integer;
The Count property returns the number of links of ETL task objects.
Sub UserProc;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Links: IEtlPlainLinks;
i: Integer;
Begin
MB := MetabaseClass.Active;
EtlTask := MB.ItemById("ETL").Bind As IEtlTask;
Links := EtlTask.Links;
i := Links.Count;
End Sub UserProc;
After executing the example the "i" variable contains the number of links of ETL task objects. The repository object has the ETL identifier.
See also: