SPGeneralPerformanceCategoryDefinition class

SPGeneralPerformanceCategoryDefinition class

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

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

[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.

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