次の方法で共有


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)

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