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)
Public Overrides Sub Execute ( _
targetInstanceId As Guid _
)
Dim instance As SPWorkItemJobDefinition
Dim targetInstanceId As Guid
instance.Execute(targetInstanceId)
public override void Execute(
Guid targetInstanceId
)
- 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.
SPWorkItemJobDefinition Members
Microsoft.SharePoint.Administration Namespace