Item(Index: Integer): IEtlPlainInput;
Index is an input index.
The Item property returns an object that contains a link between input object and current object. Link index is passed by the parameter Index.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Join: IEtlPlainDataJoin;
Inputs: IEtlPlainInputs;
Input: IEtlPlainInput;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
Join:=EtlTask.Item(3) As IEtlPlainDataJoin;
Inputs:=Join.PlainInputs;
Input:=Inputs.Item(0);
End Sub Main;
After executing this example the Input variable contains the first input of the forth ETL task object. Type of ETL task object is Join. Repository object has the ETL identifier.
See also: