SPJobDefinition.Execute Method (Microsoft.SharePoint.Administration)
Executes the job definition.

Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Overridable Sub Execute ( _
    targetInstanceId As Guid _
)
Visual Basic (Usage)
Dim instance As SPJobDefinition
Dim targetInstanceId As Guid

instance.Execute(targetInstanceId)
C#
public virtual void Execute (
    Guid targetInstanceId
)

Parameters

targetInstanceId

For target types of SPContentDatabase this is the database ID of the content database being processed by the running job.

This value is Guid.Empty for all other target types.

See Also

Tags :


Page view tracker