PlainInput(Input: Integer): IEtlPlainInput;
Input. Data provider index.
The PlainInput property returns the object that contains data source, which index is passed by the Input parameter.
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(0) As 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: