Instance Method

stopVPNTunnel

Start the process of disconnecting the VPN.

Declaration

- (void)stopVPNTunnel;

Discussion

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 NEVPNStatusDidChangeNotification notification on the NEVPNConnection object and examine the status property when the notification is received.

See Also

Controlling the VPN Connection