SPWorkItemJobDefinition.ProcessWorkItems Method

Definition

Overloads

ProcessWorkItems(SPContentDatabase, SPWorkItemCollection)
Obsolete.
ProcessWorkItems(SPContentDatabase, SPWorkItemCollection, SPJobState)
ProcessWorkItems(SPContentDatabase, SPWorkItemCollection, Boolean)
Obsolete.

ProcessWorkItems(SPContentDatabase, SPWorkItemCollection)

Caution

Override the ProcessWorkItems method with SPJobState support instead.

public:
 virtual void ProcessWorkItems(Microsoft::SharePoint::Administration::SPContentDatabase ^ db, Microsoft::SharePoint::SPWorkItemCollection ^ workItems);
[System.Obsolete("Override the ProcessWorkItems method with SPJobState support instead.", false)]
public virtual void ProcessWorkItems (Microsoft.SharePoint.Administration.SPContentDatabase db, Microsoft.SharePoint.SPWorkItemCollection workItems);
abstract member ProcessWorkItems : Microsoft.SharePoint.Administration.SPContentDatabase * Microsoft.SharePoint.SPWorkItemCollection -> unit
override this.ProcessWorkItems : Microsoft.SharePoint.Administration.SPContentDatabase * Microsoft.SharePoint.SPWorkItemCollection -> unit
Public Overridable Sub ProcessWorkItems (db As SPContentDatabase, workItems As SPWorkItemCollection)

Parameters

Attributes

Applies to

ProcessWorkItems(SPContentDatabase, SPWorkItemCollection, SPJobState)

protected:
 virtual bool ProcessWorkItems(Microsoft::SharePoint::Administration::SPContentDatabase ^ contentDatabase, Microsoft::SharePoint::SPWorkItemCollection ^ workItems, Microsoft::SharePoint::Administration::SPJobState ^ jobState);
protected virtual bool ProcessWorkItems (Microsoft.SharePoint.Administration.SPContentDatabase contentDatabase, Microsoft.SharePoint.SPWorkItemCollection workItems, Microsoft.SharePoint.Administration.SPJobState jobState);
abstract member ProcessWorkItems : Microsoft.SharePoint.Administration.SPContentDatabase * Microsoft.SharePoint.SPWorkItemCollection * Microsoft.SharePoint.Administration.SPJobState -> bool
override this.ProcessWorkItems : Microsoft.SharePoint.Administration.SPContentDatabase * Microsoft.SharePoint.SPWorkItemCollection * Microsoft.SharePoint.Administration.SPJobState -> bool
Protected Overridable Function ProcessWorkItems (contentDatabase As SPContentDatabase, workItems As SPWorkItemCollection, jobState As SPJobState) As Boolean

Parameters

contentDatabase
SPContentDatabase
jobState
SPJobState

Returns

Boolean

Applies to

ProcessWorkItems(SPContentDatabase, SPWorkItemCollection, Boolean)

Caution

Override the ProcessWorkItems method with SPJobState support instead.

public:
 virtual void ProcessWorkItems(Microsoft::SharePoint::Administration::SPContentDatabase ^ db, Microsoft::SharePoint::SPWorkItemCollection ^ workItems, bool % continueProcessing);
[System.Obsolete("Override the ProcessWorkItems method with SPJobState support instead.", false)]
public virtual void ProcessWorkItems (Microsoft.SharePoint.Administration.SPContentDatabase db, Microsoft.SharePoint.SPWorkItemCollection workItems, ref bool continueProcessing);
abstract member ProcessWorkItems : Microsoft.SharePoint.Administration.SPContentDatabase * Microsoft.SharePoint.SPWorkItemCollection *  -> unit
override this.ProcessWorkItems : Microsoft.SharePoint.Administration.SPContentDatabase * Microsoft.SharePoint.SPWorkItemCollection *  -> unit
Public Overridable Sub ProcessWorkItems (db As SPContentDatabase, workItems As SPWorkItemCollection, ByRef continueProcessing As Boolean)

Parameters

continueProcessing
Boolean
Attributes

Applies to