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.
Sub UserProc;
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 UserProc;
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: