Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the IPsec custom policy configuration of a VPN profile.
Syntax
uint32 SetByCustomPolicy(
[in] string ConnectionName,
[in] uint32 AuthenticationTransformConstants,
[in] uint32 CipherTransformConstants,
[in] uint32 EncryptionMethod,
[in] uint32 IntegrityCheckMethod,
[in] uint32 PfsGroup,
[in] uint32 DHGroup,
[in] boolean PassThru,
[in] boolean Force,
[in] boolean AllUserConnection,
[out] VpnConnectionIPsecConfiguration cmdletOutput
);
Parameters
-
ConnectionName [in]
-
The name of the VPN connection profile.
-
AuthenticationTransformConstants [in]
-
The authentication transform plumbed in IPsec policy.
-
CipherTransformConstants [in]
-
The cipher transform plumbed in IPsec Policy.
-
EncryptionMethod [in]
-
The encryption method plumbed in IPsec policy.
-
IntegrityCheckMethod [in]
-
The integrity method plumbed in IPsec policy.
-
PfsGroup [in]
-
The PFS group plumbed in IPsec policy.
-
DHGroup [in]
-
The DH Group plumbed in IPsec policy.
-
PassThru [in]
-
true to return the VpnConnectionIPsecConfiguration object; otherwise false.
-
Force [in]
-
True to force the modification of IPsec configuration of the VPN profile; otherwise, false.
-
AllUserConnection [in]
-
True if the VPN connection profile is for all users; false if it is for a single user.
-
cmdletOutput [out]
-
When this method returns, contains the VpnConnectionIPsecConfiguration object. These destination fields are populated: EncryptionMethod, IntegrityCheckMethod, CipherTransformConstants, DHGroup, AuthenticationTransformConstants and PfsGroup .
Requirements
| Minimum supported client |
Windows 8 |
| Minimum supported server |
Windows Server 2012 |
| Namespace |
Root\Microsoft\Windows\RemoteAccess\Client |
| MOF |
|
| DLL |
|