共用方式為


SPRunningJobCollection.Count property

此集合中取得SPRunningJob元素的數目。

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

Syntax

'宣告
Public Overrides ReadOnly Property Count As Integer
    Get
'用途
Dim instance As SPRunningJobCollection
Dim value As Integer

value = instance.Count
public override int Count { get; }

Property value

Type: System.Int32
代表執行的工作數目。

Implements

ICollection.Count

備註

使用此屬性可判斷集合物件中的元素數目。

請參閱

參照

SPRunningJobCollection class

SPRunningJobCollection members

Microsoft.SharePoint.Administration namespace

Item[Int32]