次の方法で共有


VpnConnectionTriggerDnsConfiguration class

The VpnConnectionTriggerDnsConfiguration class represents the DNS configuration for an auto-triggered VPN connection.

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

Syntax

[ClassVersion("1.0"), dynamic, provider("VpnClientPSProvider"), AMENDMENT]
class VpnConnectionTriggerDnsConfiguration
{
  string ConnectionName;
  string DnsSuffix;
  string DnsIPAddress[];
  string DnsSuffixSearchList[];
};

Members

The VpnConnectionTriggerDnsConfiguration class has these types of members:

Properties

The VpnConnectionTriggerDnsConfiguration class has these properties.

ConnectionName

Data type: string

Access type: Read/write

The name of the current VPN connection profile.

DnsIPAddress

Data type: string array

Access type: Read/write

The IPv4/IPv6 addresses of the DNS servers to use for the DNS suffix.

DnsSuffix

Data type: string

Access type: Read/write

The DNS suffix for auto triggering a VPN connection.

DnsSuffixSearchList

Data type: string array

Access type: Read/write

The DNS suffix search list for the auto-triggered VPN connection.

Requirements

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