IEtlObject.ConnCompId

Syntax

ConnCompId: Integer;

Description

The ConnCompId property determines index of connected component of ETL task object.

Comments

The connected component shows, to which calculation chain this object is included. For objects (links between objects) of one chain the connected component value is the same.

Connected component value itself determines calculation order of chain, which the object belongs to. The less is the value, the earlier this chain is calculated.

NOTE. To change the order of chain calculation, change connected component value for all chain objects and also links between objects.

Example

Executing the example requires that the repository contains an ETL task with the ETL identifier.

Add links to the Metabase and ETL system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    EtlTask: IEtlTask;
    Object: IEtlObject;
    i: Integer;
Begin
    MB := MetabaseClass.Active;
    EtlTask := MB.ItemById("ETL").Bind As IEtlTask;
    Object := EtlTask.Item(0);
    i := Object.ConnCompId;
    If Object.IsActive Then
        Debug.WriteLine("Component is included to task");
    Else
        Debug.WriteLine("Component is not included to task");
    End If;
End Sub UserProc;

After executing the example the "i" variable contains an index of connected component of the first ETL task object. The console window displays information of whether the first object is included into the ETL task.

See also:

IEtlObject