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. Link index is passed by the Index parameter.

Example

Sub Main;

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(0) As IEtlPlainDataSplit;

Outputs:=Join.PlainOutputs;

Output:=Outputs.Item(0);

End Sub Main;

After executing the example the Output variable contains the first input of the first ETL task object. The type of ETL task object is Split. The repository object has the ETL identifier.

See also:

IEtlPlainOutputs