SPServiceInstanceJobDefinition.Execute Method
Executes the job specified by the job definition.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Sub Execute ( _
targetInstanceId As Guid _
)
'Usage
Dim instance As SPServiceInstanceJobDefinition
Dim targetInstanceId As Guid
instance.Execute(targetInstanceId)
public override void Execute(
Guid targetInstanceId
)
Parameters
targetInstanceId
Type: System.GuidThe Guid object that represents the Id of the target currently being processed by the running job.
For SPContentDatabase objects, this is the identifier of the content database that is being processed by the running job. When the SPJobLockType has a value of Content Database, this is the instance identifier of the target currently being processed by the running job. For all other lock types, the value is Empty.
See Also
Reference
SPServiceInstanceJobDefinition Class