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