IEtlPlainOutputs.Item

Syntax

Item(Index: Integer): IEtlPlainOutput;

Parameters

Index. Output index.

Description

The Item property returns the object that contains a link between output object and the current object.

Example

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

IEtlPlainOutputs