IEtlPlainInputs.Item

Syntax

Item(Index: Integer): IEtlPlainInput;

Parameters

Index - input index.

Description

The Item property returns the object that contains a link between input object and the current object. Link index is passed by the Index parameter.

Example

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 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:

IEtlPlainInputs