IEtlPlainIndex.PlainInput

Syntax

PlainInput(Input: Integer): IEtlPlainInput;

Parameters

Input is an index of data source.

Description

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

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 this example variable Input contains the first data source. Type of ETL task object is Join. Repository object has the ETL identifier.

See also:

IEtlPlainIndex