Share via


SPRunningJobCollection.WebApplication Property

NOTE: This API is now obsolete.

Gets the SPWebApplication of the running job.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use Parent as SPWebApplication instead.", False)> _
Public ReadOnly Property WebApplication As SPWebApplication
    Get
'Usage
Dim instance As SPRunningJobCollection
Dim value As SPWebApplication

value = instance.WebApplication
[ObsoleteAttribute("Use Parent as SPWebApplication instead.", false)]
public SPWebApplication WebApplication { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPWebApplication
Represents the SPWebApplication object that is associated with the running job.

Remarks

This object represents the parent of the running job located at this index in the collection.

See Also

Reference

SPRunningJobCollection Class

SPRunningJobCollection Members

Microsoft.SharePoint.Administration Namespace

Service