Share via


ISubscription.GetSynchronizationHistory Method ()

 

Applies To: Windows Server Update Services

Gets all synchronization history in the database.

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

Syntax

SynchronizationInfoCollection GetSynchronizationHistory()
SynchronizationInfoCollection^ GetSynchronizationHistory()
abstract GetSynchronizationHistory : unit -> SynchronizationInfoCollection
Function GetSynchronizationHistory As SynchronizationInfoCollection

Return Value

Type: Microsoft.UpdateServices.Administration.SynchronizationInfoCollection

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 ServerEventExpirationTime configuration setting.

To get the history for a specific period of time, call GetSynchronizationHistory.

To get synchronization and subscription events, call GetEventHistory.

See Also

GetSynchronizationHistory Overload
ISubscription Interface
Microsoft.UpdateServices.Administration Namespace

Return to top