EtlObject: IEtlObject;
The EtlObject property returns ETL object.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Join: IEtlPlainDataJoin;
Inputs: IEtlPlainInputs;
Object: IEtlObject;
S: String;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
Join:=EtlTask.Item(0) As IEtlPlainDataJoin;
Inputs:=Join.PlainInputs;
Object:=Inputs.EtlObject;
s:=Object.Name;
End Sub Main;
After executing this example the "s" variable contains name of the object that corresponds to inputs list. Type of ETL task object is Join. Repository object has the ETL identifier.
See also: