Question:
Can I create a Connection link via CreateLink() method, similarly to when we connect an XControl on the screen to an XObject in the data server?
Solution:
No, you can’t. To create a Connection-type link, you must set up the property directly via a simple attribution.
For example:
Application.GetObject("DataFolder.XObject1").IOTagTest = "Driver1.TagTest"