Partager via


Set method of the MSFT_VpnConnection class

Creates or modifies a virtual private network (VPN) connection profile.

Syntax

static uint32 Set(
  [in] string Profile
);

Parameters

Profile [in]

A string representation of the VPN connection profile to be modified or created. The VpnConfigurationXml property of the VpnConnection class can be used as input for this parameter.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\Client
MOF
VPNClientPSProvider.mof
DLL
VPNClientPSProvider.dll

See also

MSFT_VpnConnection