SPRunningJob.Parent property
Gets the parent of the running job.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Parent As SPPersistedObject
Get
'Usage
Dim instance As SPRunningJob
Dim value As SPPersistedObject
value = instance.Parent
public SPPersistedObject Parent { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPPersistedObject
A SPPersistedObject that represents the parent of this running job.
Remarks
The parent object is the id of the SPWebApplication object, or the id of the SPService object if there is no web application.
The parent object association occurs at the farm level, rather than at the level of the server that is running the job.