共用方式為


SPRunningJobCollection.WebApplication property

NOTE: This API is now obsolete.

取得SPWebApplication執行中的工作。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<ObsoleteAttribute("Use Parent as SPWebApplication instead.", False)> _
Public ReadOnly Property WebApplication As SPWebApplication
    Get
'用途
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
代表與執行工作相關聯的SPWebApplication物件。

備註

此物件代表的父代執行位於這個集合中的索引中的工作。

請參閱

參照

SPRunningJobCollection class

SPRunningJobCollection members

Microsoft.SharePoint.Administration namespace

Service