共用方式為


SPDiagnosticsPerformanceCounterProvider.Categories property

提供者將會收集類別和計數器的清單。

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

Syntax

'宣告
Public ReadOnly Property Categories As IList(Of SPPerformanceCategoryDefinition)
    Get
'用途
Dim instance As SPDiagnosticsPerformanceCounterProvider
Dim value As IList(Of SPPerformanceCategoryDefinition)

value = instance.Categories
public IList<SPPerformanceCategoryDefinition> Categories { get; }

Property value

Type: System.Collections.Generic.IList<SPPerformanceCategoryDefinition>
會傳回IList<T>

請參閱

參照

SPDiagnosticsPerformanceCounterProvider class

SPDiagnosticsPerformanceCounterProvider members

Microsoft.SharePoint.Diagnostics namespace