次の方法で共有


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)

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