SearchAndProcessItem Class
SharePoint 2010
Represents the search and process operation that you want to execute, and includes a method to initiate the operation.
Namespace:
Microsoft.Office.RecordsManagement.SearchAndProcess
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Search and process operations enable you to use Microsoft SharePoint Server 2010 to perform a search query, and then perform a specific, custom action upon each list item returned by the query. For example, you might need to identify a certain set of documents, based on specific document metadata, and then move those documents into a records repository.
The assembly you specify must implement the IProcess interface.
Use the Add method to add the search and process operation to the SharePoint Server 2010 master timer job.