IUpdateServerConfiguration.ProxyUserName Property
Gets or sets the user name to use when accessing the proxy server.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
/** @property */ String get_ProxyUserName () /** @property */ void set_ProxyUserName (String value)
function get ProxyUserName () : String function set ProxyUserName (value : String)
Property Value
The user name to use when accessing the proxy server. The name must be less than 256 characters.| Exception type | Condition |
|---|---|
| ArgumentNullException | The property value cannot be null. |
| ArgumentOutOfRangeException | The name must be less than 256 characters. |
User credentials are used only if UseProxy is true and AnonymousProxyAccess is false.
If AnonymousProxyAccess is false, you must specify a user name before saving the configuration settings.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Development Platforms
Target Platforms
Windows Server 2008, Windows Server 2003, Windows Server 2008 R2