EtlObject: IEtlObject;
The EtlObject property returns ETL object.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Join: IEtlPlainDataSplit;
Outputs: IEtlPlainOutputs;
Object: IEtlObject;
S: String;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
Join:=EtlTask.Item(0) As IEtlPlainDataSplit;
Outputs:=Join.PlainOutputs;
Object:=Outputs.EtlObject;
s:=Object.Name;
End Sub Main;
After executing the example the "s" variable contains an object name that corresponds with outputs list. The type of ETL task object is Split. The repository object has the ETL identifier.
See also: