ISubscription.StopSynchronization Method ()

 

Applies To: Windows Server Update Services

Stops the WSUS server synchronization process if it is running.

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

Syntax

void StopSynchronization()
void StopSynchronization()
abstract StopSynchronization : unit -> unit
Sub StopSynchronization

Remarks

To determine if the synchronization process is running, call GetSynchronizationStatus. The process is running if SynchronizationStatus is Running.

If you stop the synchronization process while it is in the middle of processing an update, the update is not synchronized. When the synchronization process starts again, WSUS determines a new list of updates to synchronize.

After WSUS synchronizes an update, WSUS begins downloading the update if the WSUS server hosts the updates locally (HostBinariesOnMicrosoftUpdate is false). To stop the download, call CancelAllDownloads or CancelDownload.

This operation requires WSUS Administrator privileges.

See Also

ISubscription Interface
Microsoft.UpdateServices.Administration Namespace

Return to top