次の方法で共有


VpnConnectionProxy class

The VpnConnectionProxy class represents the proxy settings for a VPN connection.

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

Syntax

[ClassVersion("1.0"), dynamic, provider("VpnClientPSProvider"), AMENDMENT]
class VpnConnectionProxy
{
  string  ConnectionName;
  boolean AutoDetect;
  string  AutoConfigurationScript;
  boolean BypassProxyForLocal;
  string  ProxyServer;
  string  ExceptionPrefix[];
};

Members

The VpnConnectionProxy class has these types of members:

Properties

The VpnConnectionProxy class has these properties.

AutoConfigurationScript

Data type: string

Access type: Read/write

The web proxy auto detection (WPAD) script for automatic web proxy configuration.

AutoDetect

Data type: boolean

Access type: Read/write

true to automatically detect proxy settings; otherwise, false.

BypassProxyForLocal

Data type: boolean

Access type: Read/write

true to bypass the web proxy for local (intranet) addresses; otherwise, false.

ConnectionName

Data type: string

Access type: Read/write

The name of the current VPN connection profile.

ExceptionPrefix

Data type: string array

Access type: Read/write

The prefixes of the addresses for which no web proxy should be used.

ProxyServer

Data type: string

Access type: Read/write

The web proxy server address and port number pair, separated by a colon.

Requirements

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