共用方式為


SPRunningJobCollection.Service property

NOTE: This API is now obsolete.

取得上層SPService物件。

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

Syntax

'宣告
<ObsoleteAttribute("Use Parent as SPService instead.", False)> _
Public ReadOnly Property Service As SPService
    Get
'用途
Dim instance As SPRunningJobCollection
Dim value As SPService

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

Property value

Type: Microsoft.SharePoint.Administration.SPService
代表整個伺服器陣列的服務。

備註

如果沒有任何 Web 應用程式,此物件代表的父代執行位於這個集合中的索引中的工作。

請參閱

參照

SPRunningJobCollection class

SPRunningJobCollection members

Microsoft.SharePoint.Administration namespace

WebApplication