Start the process of disconnecting the VPN.
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
This method returns immediately after starting the process of disconnecting the VPN. In order to be notified when the VPN is fully disconnected, register to observe the
NEVPNStatus notification on the
NEVPNConnection object and examine the status property when the notification is received.