Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
/** @property */ TimeSpan get_ServerEventExpirationTime () /** @property */ void set_ServerEventExpirationTime (TimeSpan value)
function get ServerEventExpirationTime () : TimeSpan function set ServerEventExpirationTime (value : TimeSpan)
Property ValueThe period of time that server events are retained before being removed from the database. The minimum unit of time is one day; fractions of a day are truncated (the property returns only the day value). The maximum unit of time is 365 days. The default is 90 days.
WSUS scans for server events to remove when it receives a server event and ExpiredEventDetectionPeriod has elapsed.
To remove events for a specific update, call PurgeAssociatedReportingEvents.
WSUS uses subscription server events to generate synchronization history. The synchronization history is lost when subscription server events are removed.
Note that you can exceed the size of the database if there is a high volume of server events and you specify large value for ServerEventExpirationTime.