Compartilhar via


ISubscription.GetEventHistory Method ()

 

Applies To: Windows Server Update Services

Gets all subscription and synchronization events.

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

Syntax

SubscriptionEventCollection GetEventHistory()
SubscriptionEventCollection^ GetEventHistory()
abstract GetEventHistory : unit -> SubscriptionEventCollection
Function GetEventHistory As SubscriptionEventCollection

Return Value

Type: Microsoft.UpdateServices.Administration.SubscriptionEventCollection

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

To get events for a specific period of time, call GetEventHistory.

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

See Also

GetEventHistory Overload
ISubscription Interface
Microsoft.UpdateServices.Administration Namespace

Return to top