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.

Example

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(3As 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:

IEtlPlainInputs