SearchAndProcessWIJD.ProcessWorkItem Method
ProcessWorkItem
Namespace: Microsoft.Office.RecordsManagement.SearchAndProcess
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Protected Overrides Function ProcessWorkItem ( _
db As SPContentDatabase, _
workItems As SPWorkItemCollection, _
wi As SPWorkItem, _
jobState As SPJobState _
) As Boolean
'Usage
Dim db As SPContentDatabase
Dim workItems As SPWorkItemCollection
Dim wi As SPWorkItem
Dim jobState As SPJobState
Dim returnValue As Boolean
returnValue = Me.ProcessWorkItem(db, _
workItems, wi, jobState)
protected override bool ProcessWorkItem(
SPContentDatabase db,
SPWorkItemCollection workItems,
SPWorkItem wi,
SPJobState jobState
)
Parameters
db
Type: Microsoft.SharePoint.Administration.SPContentDatabaseThe content database which contains the work items.
workItems
Type: Microsoft.SharePoint.SPWorkItemCollectionThe collection which contains the work items.
- wi
Type: Microsoft.SharePoint.SPWorkItem
jobState
Type: Microsoft.SharePoint.Administration.SPJobStateThe state of the pausable timer job.
Return Value
Type: System.Boolean
true if the job should continue processing work items; otherwise, false
See Also
Reference
Microsoft.Office.RecordsManagement.SearchAndProcess Namespace