Share via


SPWorkItemJobDefinition.Execute Method

Executes a query against the processing queue to obtain available work items..

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

Syntax

Public Overrides Sub Execute ( _
    targetInstanceId As Guid _
)

Dim instance As SPWorkItemJobDefinition
Dim targetInstanceId As Guid

instance.Execute(targetInstanceId)
public override void Execute(
    Guid targetInstanceId
)

Parameters

  • targetInstanceId
    Type: System.Guid
    Identifier of the content database being processed by the timer job, where the target type identifies the SPContentDatabase object and can be accessed by using the following property: ContentDatabases[targetInstanceId]
    For other target types, the value is Guid.Empty.

See Also

Reference

SPWorkItemJobDefinition Class

SPWorkItemJobDefinition Members

Microsoft.SharePoint.Administration Namespace

SPWebApplication.ContentDatabases

Microsoft.SharePoint.Administration.SPContentDatabase