PlainInputCount: Integer;
The PlainInputCount property returns number of data sources for index fields.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Join: IEtlPlainDataJoin;
Index: IEtlPlainIndex;
i: Integer;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
Join:=EtlTask.Item(0) As IEtlPlainDataJoin;
Index:=Join.Index;
i:=Index.PlainInputCount;
End Sub Main;
After executing this example the "i" variable contains number of data sources for index fields. Type of ETL task object is Join. Repository object has the ETL identifier.
See also: