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