IEtlPlainInputs.MaxObjectCount

Syntax

MaxObjectCount: Integer;

Description

The MaxObjectCount property returns the maximum 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.MaxObjectCount;

End Sub Main;

After executing the example the "i" variable contains the maximum number of inputs of the first ETL task object. The type of ETL task object is Join. The repository object has the ETL identifier.

See also:

IEtlPlainInputs