共用方式為


SPWorkItemJobDefinition.ProcessWorkItems method (SPContentDatabase, SPWorkItemCollection)

NOTE: This API is now obsolete.

啟動的工作定義] 所指定的工作項目處理,並指定內容資料庫 (SPContentDatabase) 的工作項目集合 (SPWorkItemCollection) 進行處理。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<ObsoleteAttribute("Override the ProcessWorkItems method with SPJobState support instead.",  _
    False)> _
Public Overridable Sub ProcessWorkItems ( _
    db As SPContentDatabase, _
    workItems As SPWorkItemCollection _
)
'用途
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
)

參數

請參閱

參照

SPWorkItemJobDefinition class

SPWorkItemJobDefinition members

ProcessWorkItems overload

Microsoft.SharePoint.Administration namespace

Microsoft.SharePoint.Administration.SPContentDatabase

Microsoft.SharePoint.SPWorkItemCollection