Remove method of the PS_VpnConnectionTriggerDnsConfiguration class

Removes DNS suffixes and the corresponding DNS servers from the configuration.

Syntax


uint32 Remove(
  [in]  string                               ConnectionName,
  [in]  string                               DnsSuffix[],
  [in]  boolean                              PassThru,
  [in]  boolean                              Force,
  [out] VpnConnectionTriggerDnsConfiguration cmdletOutput[]
);

Parameters

ConnectionName [in]

The name of the VPN connection profile to modify.

DnsSuffix [in]

The DNS suffixes.

PassThru [in]

true to return the VpnConnectionTriggerDnsConfiguration object that contains the DNS configuration for VPN triggering; otherwise false.

Force [in]

True to force the removal of the Name Resolution Policy Table (NRPT) rule from the VPN profile; otherwise, false.

cmdletOutput [out]

When this method returns, contains the VpnConnectionTriggerDnsConfiguration objects that holds the DNS configurations for VPN triggering.

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

PS_VpnConnectionTriggerDnsConfiguration

 

 

Show: