IEtlPlainIndex.PlainInputCount

Syntax

PlainInputCount: Integer;

Description

The PlainInputCount property returns the number of data sources for index fields.

Example

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 the example the "i" variable contains the number of data sources for index fields. The type of ETL task object is Join. The repository object has the ETL identifier.

See also:

IEtlPlainIndex