FindById(Id: String): IEtlObject;
Id - task object identifier.
The FindById method searches and returns ETL task object. An object identifier is passed by the Id parameter.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
ETLObj: IEtlObject;
s: String;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
ETLObj:=EtlTask.FindById("i_excel");
s:=ETLObj.Name;
End Sub Main;
After executing the example the "s" variable contains name of ETL task object with the i_excel identifier. The repository object has the ETL identifier.
See also: