SPGeneralPerformanceCategoryDefinition class

General definition for an arbitrary category and its counters. It stores the counter names and instance names for each counter.

Inheritance hierarchy


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


<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPGeneralPerformanceCategoryDefinition _
    Inherits SPPerformanceCategoryDefinition
Dim instance As SPGeneralPerformanceCategoryDefinition
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPGeneralPerformanceCategoryDefinition : SPPerformanceCategoryDefinition


When the diagnostic providers collecting performance counter under this category a counter will be collected if the counter name is in the definition and the instance name is in the definition. If the counter has no instance and the counter name is in the definition it will be also collected.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also


SPGeneralPerformanceCategoryDefinition members

Microsoft.SharePoint.Diagnostics namespace