Count: Integer;
The Count property returns the number of links of ETL task objects.
Sub Main;
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 Main;
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: