SPWorkItemJobDefinition.ProcessWorkItems 方法 (SPContentDatabase, SPWorkItemCollection)

请注意:此 API 现在已过时。

启动指定作业定义的工作项的处理,并指定内容数据库 (SPContentDatabase) 以及工作项的集合 (SPWorkItemCollection) 进行处理。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<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 类

SPWorkItemJobDefinition 成员

ProcessWorkItems 重载

Microsoft.SharePoint.Administration 命名空间

Microsoft.SharePoint.Administration.SPContentDatabase

Microsoft.SharePoint.SPWorkItemCollection