Dela via


SearchAndProcessItem Class

Represents the search and process operation that you want to execute, and includes a method to initiate the operation.

Inheritance Hierarchy

System.Object
  Microsoft.Office.RecordsManagement.SearchAndProcess.SearchAndProcessItem

Namespace:  Microsoft.Office.RecordsManagement.SearchAndProcess
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SearchAndProcessItem _
    Implements ISearchParameters
'Usage
Dim instance As SearchAndProcessItem
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SearchAndProcessItem : ISearchParameters

Remarks

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SearchAndProcessItem Members

Microsoft.Office.RecordsManagement.SearchAndProcess Namespace