Share via


IUpdateServerConfiguration.ExpiredEventDetectionPeriod Property

 

Applies To: Windows Server Update Services

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)

Syntax

TimeSpan ExpiredEventDetectionPeriod { get; set; }
property TimeSpan ExpiredEventDetectionPeriod {
    TimeSpan get();
    void set(TimeSpan value);
}
abstract ExpiredEventDetectionPeriod : TimeSpan with get, set
Property ExpiredEventDetectionPeriod As TimeSpan

Property Value

Type: System.TimeSpan

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.

Exceptions

Exception

Condition

ArgumentOutOfRangeException

The time span cannot be less than zero.

Remarks

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

To remove events immediately, set ExpiredEventDetectionPeriod to 0.

See Also

IUpdateServerConfiguration Interface
Microsoft.UpdateServices.Administration Namespace

Return to top