共用方式為


SPSystemPerformanceMonitorCollection.Count property

取得集合中的監視器數目。

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

Syntax

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

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

Property value

Type: System.Int32
集合中的監視器數目。

請參閱

參照

SPSystemPerformanceMonitorCollection class

SPSystemPerformanceMonitorCollection members

Microsoft.SharePoint.Utilities namespace