Item(Index: Integer): IEtlPlainOutput;
Index. Output index.
The Item property returns the object that contains a link between output object and the current object.
Sub UserProc;
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 UserProc;
After executing the example the Output variable contains the first input of the fourth ETL task object. The type of ETL task object is Split. The repository object has the ETL identifier.
See also: