IEtlPlainLinks.Item

Syntax

Item(Index: Integer): IEtlPlainLink;

Parameters

Index. Index of ETL task objects link.

Description

The Item property returns the linking object, which index is passed by the Index parameter.

Example

Sub UserProc;
Var
    MB: IMetabase;
    EtlTask: IEtlTask;
    Links: IEtlPlainLinks;
    Link: IEtlPlainLink;
Begin
    MB := MetabaseClass.Active;
    EtlTask := MB.ItemById("ETL").Bind As IEtlTask;
    Links := EtlTask.Links;
    Link := Links.Item(0);
End Sub UserProc;

After executing the example the Link variable contains the first link of ETL task objects. The repository object has the ETL identifier.

See also:

IEtlPlainLinks