Item(Index: Integer): IEtlPlainOutput;
Index is an output index.
The Item property returns an object that contains a link between output object and current object. Link index is passed by the Index parameter.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Join: IEtlPlainDataSplit;
Outputs: IEtlPlainOutputs;
Output: IEtlPlainOutput;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
Join:=EtlTask.Item(0) As IEtlPlainDataSplit;
Outputs:=Join.PlainOutputs;
Output:=Outputs.Item(0);
End Sub Main;
After executing this example the Output variable contains the first input of the first ETL task object. Type of ETL task object is Split. Repository object has the ETL identifier.
See also: