다음을 통해 공유


IProcess Interface

The interface that must be implemented by an assembly to process items as part of a search and process operation.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Interface IProcess
'Usage
Dim instance As IProcess
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public interface IProcess

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.

This interface provides access to the processing to be done on each item in the return set of the search operation.

To perform a search and process operation, you must create a ProcessItem object, and then use the Add method to add the search and process operation to the SharePoint Server 2010 master timer job.

See Also

Reference

IProcess Members

Microsoft.Office.RecordsManagement.SearchAndProcess Namespace