Remove method of the PS_VpnConnectionTriggerTrustedNetwork class
Removes DNS suffixes from the trusted network list of the VPN connection profile.
Syntax
uint32 Remove(
[in] string ConnectionName,
[in] string DnsSuffix[],
[in] boolean PassThru,
[in] boolean Force,
[out] VpnConnectionTriggerTrustedNetwork cmdletOutput
);
Parameters
-
ConnectionName [in]
-
The name of the VPN connection profile to modify.
-
DnsSuffix [in]
-
The list of DNS suffixes to remove.
-
PassThru [in]
-
true to return the VpnConnectionTriggerTrustedNetwork object that contains the trusted network list; otherwise false.
-
Force [in]
-
True to force the removal of the DNS suffixes from the trusted network list; otherwise, false.
-
cmdletOutput [out]
-
When this method returns, contains the VpnConnectionTriggerTrustedNetwork object that holds the trusted network list.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\RemoteAccess\Client |
MOF |
|
DLL |
|