Partilhar via


SPWorkItemJobDefinition.ProcessWorkItems Method (SPContentDatabase, SPWorkItemCollection)

NOTE: This API is now obsolete.

Launches the processing of work items as specified by the job definition and specifies the content database (SPContentDatabase) and work-item collection (SPWorkItemCollection) for processing.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Override the ProcessWorkItems method with SPJobState support instead.",  _
    False)> _
Public Overridable Sub ProcessWorkItems ( _
    db As SPContentDatabase, _
    workItems As SPWorkItemCollection _
)
'Usage
Dim instance As SPWorkItemJobDefinition
Dim db As SPContentDatabase
Dim workItems As SPWorkItemCollection

instance.ProcessWorkItems(db, workItems)
[ObsoleteAttribute("Override the ProcessWorkItems method with SPJobState support instead.", 
    false)]
public virtual void ProcessWorkItems(
    SPContentDatabase db,
    SPWorkItemCollection workItems
)

Parameters

See Also

Reference

SPWorkItemJobDefinition Class

SPWorkItemJobDefinition Members

ProcessWorkItems Overload

Microsoft.SharePoint.Administration Namespace

Microsoft.SharePoint.Administration.SPContentDatabase

Microsoft.SharePoint.SPWorkItemCollection