次の方法で共有


PS_VpnConnectionIPsecConfiguration class

The PS_VpnConnectionIPsecConfiguration class can set or remove the IPsec custom policy configuration of a VPN connection profile.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[ClassVersion("1.0"), dynamic, provider("VpnClientPSProvider"), AMENDMENT]
class PS_VpnConnectionIPsecConfiguration
{
};

Members

The PS_VpnConnectionIPsecConfiguration class has these types of members:

Methods

The PS_VpnConnectionIPsecConfiguration class has these methods.

Method Description
SetByCustomPolicy Sets the IPsec custom policy configuration of a VPN profile.
SetIpSecByDefault Removes the IPsec custom policy configuration and restores the default configuration of a VPN profile.

Requirements

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