IEtlPlainOutputs.MaxObjectCount

Syntax

MaxObjectCount: Integer;

Description

The MaxObjectCount property returns the maximum number of outputs of ETL task objects.

Example

Sub UserProc;
Var
    MB: IMetabase;
    EtlTask: IEtlTask;
    Join: IEtlPlainDataSplit;
    Outputs: IEtlPlainOutputs;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    EtlTask := MB.ItemById("ETL").Bind As IEtlTask;
    Join := EtlTask.Item(0As IEtlPlainDataSplit;
    Outputs := Join.PlainOutputs;
    i := Outputs.MaxObjectCount;
End Sub UserProc;

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

See also:

IEtlPlainOutputs