SPSystemPerformanceCounterMonitor.Category property
Gets the category (sometimes called the “performance object”) of the monitor.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Category As String
Get
'Usage
Dim instance As SPSystemPerformanceCounterMonitor
Dim value As String
value = instance.Category
public string Category { get; }
Property value
Type: System.String
The name of the category.
Remarks
The category of a monitor is what is called the “performance object” of a monitor in the UI of the Performance Monitor of Windows Server 2008. Examples of categories are “Processor,” “SQL Server Database,” and “SharePoint Foundation Search Gatherer.” The category is some hardware or software entity whose performance is subject to measurement in one or more ways.
See also
Reference
SPSystemPerformanceCounterMonitor class