HistoryFilter Object Properties Collections
The HistoryFilter object is used to qualify task history rows to list or purge. First create a new HistoryFilter object, then set the properties to the appropriate values, and then pass the HistoryFilter object to the EnumHistory or PurgeHistory method of the SQLServer or Task object.