FindETLPlainLink(Value: IWxLink): IEtlPlainLink;
Value is a 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 performed 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 this example the Link variable contains a link between objects of the ETL task, that corresponds to a visual link. Index of a visual link figure is 2. Repository object has the ETL identifier.
See also: