IUpdateServerConfiguration.UpstreamWsusServerPortNumber Property

 

Applies To: Windows Server Update Services

Gets or sets the port number to use to communicate with the upstream WSUS server.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

int UpstreamWsusServerPortNumber { get; set; }
property int UpstreamWsusServerPortNumber {
    int get();
    void set(int value);
}
abstract UpstreamWsusServerPortNumber : int with get, set
Property UpstreamWsusServerPortNumber As Integer

Property Value

Type: System.Int32

Port number to use to communicate with the upstream WSUS server. The default is port 80. The port number must be greater than zero and less than 65536.

Exceptions

Exception

Condition

ArgumentOutOfRangeException

The port number must be greater than zero and less than 65536.

Remarks

WSUS uses the port number if SyncFromMicrosoftUpdate is false.

Typically, you specify port 80 for HTTP and 443 for HTTPS. If you specify an HTTPS port, set UpstreamWsusServerUseSsl to true.

See Also

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace

Return to top