Share via


IUpdateServerConfiguration.SyncFromMicrosoftUpdate Property

 

Applies To: Windows Server Update Services

Gets or sets whether the WSUS server synchronizes updates from Microsoft Update or a local WSUS server.

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

Syntax

bool SyncFromMicrosoftUpdate { get; set; }
property bool SyncFromMicrosoftUpdate {
    bool get();
    void set(bool value);
}
abstract SyncFromMicrosoftUpdate : bool with get, set
Property SyncFromMicrosoftUpdate As Boolean

Property Value

Type: System.Boolean

true if the WSUS server synchronizes updates from Microsoft Update, false if the WSUS server synchronizes updates from a local WSUS server.

Remarks

You cannot set this property to true if IsReplicaServer is true.

If it is false, you must use UpstreamWsusServerName to specify an upstream WSUS server with which to synchronize. To specify the port to use to synchronize with the upstream server, use UpstreamWsusServerPortNumber. By default, WSUS uses HTTP over port 80. To indicate that the port is an HTTPS port, set UpstreamWsusServerUseSsl to true.

WSUS ignores the following property values if you synchronize updates with an upstream WSUS server:

See Also

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace

Return to top