Dela via


IVpnPlugIn.Connect(VpnChannel) Method

Definition

This method instructs the VPN plug-in to connect to the VPN server and establish the VPN channel.

public:
 void Connect(VpnChannel ^ channel);
void Connect(VpnChannel const& channel);
public void Connect(VpnChannel channel);
function connect(channel)
Public Sub Connect (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