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