ISubscription.GetEventHistory()

Retrieves all subscription and synchronization events.

public SubscriptionEventCollection GetEventHistory();
Public Function GetEventHistory() As SubscriptionEventCollection
Implements ISubscription.GetEventHistory

Parameters

This method has no parameters.

Return Value

A SubscriptionEventCollection collection that contains all subscription and synchronization events. The collection is empty if there are no events.

Remarks

The number of events that are returned is partially dependent on the length of time the events are retained in the database. For more information, see IUpdateServerConfiguration.ServerEventExpirationTime.

To retrieve events for a specific period of time, call ISubscription.GetEventHistory(DateTime, DateTime).

To retrieve synchronization-specific information, for example, the start and end time of the synchronization process and a list of any errors that occurred, call ISubscription.GetSynchronizationHistory.

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.