Set Attribute on Element to reference another Element. Method throws an exception if not allowed.
DbElement Class | Aveva.Pdms.Database Namespace | DbElement.SetAttribute Overload List