IComputerTarget.PurgeAssociatedReportingEvents Method (DateTime, DateTime)
Applies To: Windows Server Update Services
Removes the events that are associated with the client.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
void PurgeAssociatedReportingEvents(
DateTime fromDate,
DateTime toDate
)
void PurgeAssociatedReportingEvents(
DateTime fromDate,
DateTime toDate
)
abstract PurgeAssociatedReportingEvents :
fromDate:DateTime *
toDate:DateTime -> unit
Sub PurgeAssociatedReportingEvents (
fromDate As Date,
toDate As Date
)
Parameters
fromDate
Type: System.DateTimeBegin date for events to be removed. Specify the date in Coordinated Universal Time.
toDate
Type: System.DateTimeEnd date for events to be removed. Specify the date in Coordinated Universal Time.
Exceptions
Exception
Condition
fromDate must be less than toDate.
Remarks
Typically, events are removed based on the ServerEventExpirationTime configuration setting.
This operation requires WSUS Administrator privileges.
See Also
IComputerTarget Interface
Microsoft.UpdateServices.Administration Namespace
Return to top