共用方式為


ProxyAccessType Enum

Definition

IMPORTANT: proxy configuration is supported for HTTPS only; for HTTP, the direct connection to the server is used.

public enum class ProxyAccessType
public enum ProxyAccessType
type ProxyAccessType = 
Public Enum ProxyAccessType
Inheritance
ProxyAccessType

Fields

Name Value Description
None 0

ProxyAccessType is not specified. That means Proxy information (ProxyAccessType, ProxyAuthenticationMechanism and ProxyCredential)is not passed to WSMan at all.

IEConfig 1

Use the Internet Explorer proxy configuration for the current user. Internet Explorer proxy settings for the current active network connection. This option requires the user profile to be loaded, so the option can be directly used when called within a process that is running under an interactive user account identity; if the client application is running under a user context different than the interactive user, the client application has to explicitly load the user profile prior to using this option.

WinHttpConfig 2

Proxy settings configured for WinHTTP, using the ProxyCfg.exe utility.

AutoDetect 4

Force autodetection of proxy.

NoProxyServer 8

Do not use a proxy server - resolves all host names locally.

Applies to