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