The JobServer object exposes a JobHistoryFilter object. The JobHistoryFilter object does not represent a Microsoft® SQL Server™ component. It is used to control JobServer object methods. When used as a parameter to the EnumJobHistory method, a JobHistoryFilter object constrains the output of the method. When used with the PurgeJobHistory method, the JobHistoryFilter object restricts the scope of the method.
EnumJobHistory Method | PurgeJobHistory Method |