Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
'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
)
db
Type: Microsoft.SharePoint.Administration.SPContentDatabase
Specifies the name of the content database object (SPContentDatabase) against which to run the timer job.
workItems
Type: Microsoft.SharePoint.SPWorkItemCollection
Specifies the work-item collection (SPWorkItemCollection) that contains the runnable work items.
SPWorkItemJobDefinition members
Microsoft.SharePoint.Administration namespace
Please sign in to use this experience.
Sign in