ISubscription.GetSynchronizationProgress()

Retrieves the synchronization progress if the server is currently synchronizing updates.

public SynchronizationProgress GetSynchronizationProgress();
Public Function GetSynchronizationProgress() As SynchronizationProgress
Implements ISubscription.GetSynchronizationProgress

Parameters

This method has no parameters.

Return Values

A SynchronizationProgress that contains the total updates to synchronize and the number of updates that have synchronized so far.

Remarks

To determine if WSUS is currently synchronizing updates, call ISubscription.GetSynchronizationStatus. The status is SynchronizationStatus.Running if WSUS is currently synchronizing updates.

If the synchronization process is not running, SynchronizationProgress.Phase is SynchronizationPhase.NotRunning.

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

ISubscription.GetSynchronizationStatus