IEtlPlainIndex.PlainInput

Syntax

PlainInput(Input: Integer): IEtlPlainInput;

Parameters

Input. Data provider index.

Description

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

Example

Sub UserProc;
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(0As IEtlPlainDataJoin;
    Index := Join.Index;
    Input := Index.PlainInput(0);
    s := Input.Id;
End Sub UserProc;

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