Module.SetProxyConfiguration(Uri, PSCredential, Boolean) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
C#
public void SetProxyConfiguration (Uri proxy, System.Management.Automation.PSCredential proxyCredential, bool proxyUseDefaultCredentials);
member this.SetProxyConfiguration : Uri * System.Management.Automation.PSCredential * bool -> unit
Public Sub SetProxyConfiguration (proxy As Uri, proxyCredential As PSCredential, proxyUseDefaultCredentials As Boolean)
- proxy
- Uri
The HTTP Proxy to use.
- proxyCredential
- PSCredential
The HTTP Proxy Credentials
- proxyUseDefaultCredentials
- Boolean
True if the proxy should use default credentials
Termék | Verziók |
---|---|
Azure - PowerShell Commands | 12 (LTS), Latest |