How do we disable an adapter connection and a adapter service at runtime?
You can disable the Connection by using the disableConnection service in WmART package under pub.art.connection folder. You can “queryConnectionState” service to check if connection is disable and don’t run the adapter service if the connection is disable.
I am wondering what is driving you to disable the adapter connection at runtime since it is not a safe practice? Could you elaborate what you are trying to accomplish ?
P.S. Use the WmRoot package service at your own risk since they are not public services and can be change in any release by webmethods.