MaxObjectCount: Integer;
The MaxObjectCount property returns maximum number of outputs of ETL task objects.
Sub Main;
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(0) As IEtlPlainDataSplit;
Outputs:=Join.PlainOutputs;
i:=Outputs.MaxObjectCount;
End Sub Main;
After executing this example the "i" variable contains maximum number of outputs of the first ETL task object. Type of ETL task object is Split. Repository object has the ETL identifier.
See also: