ExpiredEventDetectionPeriod Property

IUpdateServerConfiguration.ExpiredEventDetectionPeriod Property

Gets or sets the period of time between scans for expired client and server events from the server.

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

TimeSpan ExpiredEventDetectionPeriod { get; set; }
/** @property */
TimeSpan get_ExpiredEventDetectionPeriod ()

/** @property */
void set_ExpiredEventDetectionPeriod (TimeSpan value)

function get ExpiredEventDetectionPeriod () : TimeSpan

function set ExpiredEventDetectionPeriod (value : TimeSpan)

Property Value

The period of time between scans for expired events from the server. The minimum unit of time is one hour; fractions of an hour are truncated. The maximum unit of time is 168 hours (7 days). Expired events are removed.

Exception typeCondition

The time span cannot be less than zero.

An expired event is an event that is older than ClientEventExpirationTime or ServerEventExpirationTime.

To remove events immediately, set ExpiredEventDetectionPeriod to 0.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
© 2015 Microsoft