IUpdateServerConfiguration.ExpiredEventDetectionPeriod
Retrieves or sets the period of time between scans for removing expired client and server events from the server.
public TimeSpan ExpiredEventDetectionPeriod {get; set;}
Public Property ExpiredEventDetectionPeriod As TimeSpan
Property Value
Period of time between scans for removing 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).
Exceptions
Exception type | Condition |
---|---|
System.ArgumentOutOfRangeException | The time span cannot be less than zero. |
Remarks
An expired event is an event that is older than IUpdateServerConfiguration.ClientEventExpirationTime or IUpdateServerConfiguration.ServerEventExpirationTime.
To remove events immediately, set ExpiredEventDetectionPeriod to 0.
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. |
See Also
IUpdateServerConfiguration.ClientEventExpirationTime, IUpdateServerConfiguration.ServerEventExpirationTime