IUpdateServerConfiguration.UpstreamWsusServerPortNumber
Retrieves or sets the port number to use to communicate with the upstream WSUS server.
public Int32 UpstreamWsusServerPortNumber {get; set;}
Public Property UpstreamWsusServerPortNumber As Int32
Property Value
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 type | Condition |
---|---|
System.ArgumentOutOfRangeException | The port number must be greater than zero and less than 65536. |
Remarks
WSUS uses the port number if IUpdateServerConfiguration.SyncFromMicrosoftUpdate is false.
Typically, you specify port 80 for HTTP and 443 for HTTPS. If you specify an HTTPS port, set IUpdateServerConfiguration.UpstreamWsusServerUseSsl to true.
Requirements
Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
Namespace | Defined in Microsoft.UpdateServices.Administration. |
Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
.NET Framework | Requires .NET Framework 1.1. |
See Also
IUpdateServerConfiguration.SyncFromMicrosoftUpdate
IUpdateServerConfiguration.UpstreamWsusServerUseSsl