FindById(Id: String): IEtlObject;
Id. Task object identifier.
The FindById method searches and returns ETL task object.
Sub UserSub(Input: IEtlPlainRecordSets; Output: IEtlPlainRecordSets);
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 UserSub;
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: