共用方式為


SPService.RunningJobs property

會取得一群執行這項服務的工作。

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

Syntax

'宣告
Public ReadOnly Property RunningJobs As SPRunningJobCollection
    Get
'用途
Dim instance As SPService
Dim value As SPRunningJobCollection

value = instance.RunningJobs
public SPRunningJobCollection RunningJobs { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPRunningJobCollection
SPRunningJobCollection 物件,代表執行中的工作。

請參閱

參照

SPService class

SPService members

Microsoft.SharePoint.Administration namespace