IVpnPlugIn.Disconnect(VpnChannel) Method

Definition

This method instructs the VPN plug-in to disconnect from the VPN server and destroy the VPN channel.

public:
 void Disconnect(VpnChannel ^ channel);
void Disconnect(VpnChannel const& channel);
public void Disconnect(VpnChannel channel);
function disconnect(channel)
Public Sub Disconnect (channel As VpnChannel)

Parameters

channel
VpnChannel

The VPN channel object representing the instance VPN connection of the VPN plug-in to the VPN server.

Windows requirements

App capabilities
networkingVpnProvider

Applies to