SPRunningJobCollection.Parent property

Gets the parent object 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 SPRunningJobCollection
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 the running job located at this index in the collection.

Remarks

The parent object is the SPWebApplication object, or the SPService object if there is no Web application.

See also

Reference

SPRunningJobCollection class

SPRunningJobCollection members

Microsoft.SharePoint.Administration namespace

SPRunningJob