IEtlPlainIndex.PlainInput

Syntax

PlainInput(Input: Integer): IEtlPlainInput;

Parameters

Input - data source index.

Description

The PlainInput property returns the object that contains data source, which index is passed by the Input parameter.

Example

Sub Main;

Var

MB: IMetabase;

EtlTask: IEtlTask;

Join: IEtlPlainDataJoin;

Index: IEtlPlainIndex;

Input: IEtlPlainInput;

S: String;

Begin

MB:=MetabaseClass.Active;

EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;

Join:=EtlTask.Item(0) As IEtlPlainDataJoin;

Index:=Join.Index;

Input:=Index.PlainInput(0);

s:=Input.Id;

End Sub Main;

After executing the example the Input variable contains the first data source. The type of ETL task object is Join. The repository object has the ETL identifier.

See also:

IEtlPlainIndex