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
)
參數
db
Type: Microsoft.SharePoint.Administration.SPContentDatabase據以執行計時器工作,會指定內容資料庫物件 (SPContentDatabase) 的名稱。
workItems
Type: Microsoft.SharePoint.SPWorkItemCollection會指定工作項目集合 (SPWorkItemCollection),其中包含給定的工作項目。
請參閱
參照
SPWorkItemJobDefinition members
Microsoft.SharePoint.Administration namespace