Share via


PS_VpnConnectionProxy class

The PS_VpnConnectionProxy class provides a method to modify the proxy configuration of a VPN profile.

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

Syntax

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

Members

The PS_VpnConnectionProxy class has these types of members:

Methods

The PS_VpnConnectionProxy class has these methods.

Method Description
Set Configures the web proxy for a VPN connection.

Properties

The PS_VpnConnectionProxy class has these properties.

AutoConfigurationScript

Data type: string

Access type: Read/write

Qualifiers: key

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

AutoDetect

Data type: boolean

Access type: Read/write

Qualifiers: key

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.

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

Qualifiers: key

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