Export (0) Print
Expand All
Expand Minimize

IUpdateServerConfiguration.UpstreamWsusServerPortNumber Property

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)

int UpstreamWsusServerPortNumber { get; set; }
/** @property */
int get_UpstreamWsusServerPortNumber ()

/** @property */
void set_UpstreamWsusServerPortNumber (int value)

function get UpstreamWsusServerPortNumber () : int

function set UpstreamWsusServerPortNumber (value : int)

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.

Exception typeCondition
ArgumentOutOfRangeException

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

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.


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
Show:
© 2014 Microsoft