次の方法で共有


PS_VpnConnectionTriggerTrustedNetwork class

The PS_VpnConnectionTriggerTrustedNetwork class provides methods to configure the trusted network configuration for VPN triggering.

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

Syntax

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

Members

The PS_VpnConnectionTriggerTrustedNetwork class has these types of members:

Methods

The PS_VpnConnectionTriggerTrustedNetwork class has these methods.

Method Description
Add Adds DNS suffixes to the trusted network list of the VPN connection profile.
Remove Removes DNS suffixes from the trusted network list of the VPN connection profile.
Set Sets the trusted network list with the Name Resolution Policy Table (NRPT) DNS suffixes that have been configured as part of triggering properties. The NRPT exemption entries are ignored.

Remarks

When a trusted suffix is present on the client's physical interface, VPN auto-trigger is suppressed.

Requirements

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