Count: Integer;
The Count property returns 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 this example the "i" variable contains number of connections of ETL task objects. Repository object has the ETL identifier.
See also: