IEtlPlainInputs.Count

Syntax

Count: Integer;

Description

The Count property returns number of inputs of ETL task object.

Example

Sub Main;

Var

MB: IMetabase;

EtlTask: IEtlTask;

Join: IEtlPlainDataJoin;

Inputs: IEtlPlainInputs;

i: Integer;

Begin

MB:=MetabaseClass.Active;

EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;

Join:=EtlTask.Item(0) As IEtlPlainDataJoin;

Inputs:=Join.PlainInputs;

i:=Inputs.Count;

End Sub Main;

After executing this example the "i' variable contains number of inputs of the first ETL task object. Type of ETL task object is Join. Repository object has the ETL identifier.

See also:

IEtlPlainInputs