FindETLPlainLink(Value: IWxLink): IEtlPlainLink;
Value - visual link between ETL task objects.
The FindETLPlainLink method searches and returns an object that contains a link between ETL task objects. A visual link, by which search is executed, is passed as the Value parameter.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
WxLink: IWxLink;
Link: IEtlPlainLink;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
WxLink:=EtlTask.Workspace.Shapes.Item(2) As IWxLink;
Link:=EtlTask.FindEtlPlainLink(WxLink);
End Sub Main;
After executing the example the Link variable contains a link between objects of the ETL task that corresponds to a visual link. Index of a visual link shape is 2. The repository object has the ETL identifier.
See also: