ISubscription.GetSynchronizationHistory()
Retrieves all synchronization history in the database.
public SynchronizationInfoCollection GetSynchronizationHistory();
Public Function GetSynchronizationHistory() As SynchronizationInfoCollection
Implements ISubscription.GetSynchronizationHistory
Parameters
This method has no parameters.
Return Values
A SynchronizationInfoCollection collection of all synchronization history in the database. The collection is empty if there is no synchronization history.
Remarks
WSUS uses subscription events to generate a synchronization history. The synchronization history is lost when subscription events are removed. Events are removed based on the IUpdateServerConfiguration.ServerEventExpirationTime configuration setting.
To retrieve the history for a specific period of time, call ISubscription.GetSynchronizationHistory(DateTime, DateTime).
To retrieve synchronization and subscription events, call ISubscription.GetEventHistory.
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. |