Freigeben über


SetByRevertToDefault method of the PS_VpnServerIPsecConfiguration class

Updates an Internet Protocol Security (IPsec) VPN server configuration with default values.

Syntax

uint32 SetByRevertToDefault(
  [in]  boolean                     PassThru,
  [in]  uint32                      TunnelType,
  [in]  boolean                     RevertToDefault,
  [out] VpnServerIPsecConfiguration cmdletOutput
);

Parameters

PassThru [in]

Indicates whether the VpnServerIPsecConfiguration parameter returns an object.

TunnelType [in]

The tunnel type of the IPsec configuration.

RevertToDefault [in]

Indicates whether to set the IPsec configuration to the default values. True to get the IPsec configuration to default values; otherwise false.

cmdletOutput [out]

The VpnServerIPsecConfiguration object that receives the server configuration.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.Mof
DLL
RAMgmtPSProvider.dll

See also

PS_VpnServerIPsecConfiguration