ISubscription.StopSynchronization()
Stops the WSUS server synchronization process if it is running.
public void StopSynchronization();
Public Sub StopSynchronization()
Implements ISubscription.StopSynchronization
Parameters
This method has no parameters.
Return Values
This method has no return values.
Remarks
To determine if the synchronization process is running, call ISubscription.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 (IUpdateServerConfiguration.HostBinariesOnMicrosoftUpdate is false). To stop the download, call IUpdateServer.CancelAllDownloads or IUpdate.CancelDownload.
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. |