IUpdateServerConfiguration.ProxyUserName Property

 

Applies To: Windows Server Update Services

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)

Syntax

string ProxyUserName { get; set; }
property String^ ProxyUserName {
    String^ get();
    void set(String^ value);
}
abstract ProxyUserName : string with get, set
Property ProxyUserName As String

Property Value

Type: System.String

The user name to use when accessing the proxy server. The name must be less than 256 characters.

Exceptions

Exception

Condition

ArgumentNullException

The property value cannot be null.

ArgumentOutOfRangeException

The name must be less than 256 characters.

Remarks

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.

See Also

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace

Return to top