Share via


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)
Available in Sandboxed Solutions: No

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

SPSystemPerformanceCounterMonitor Members

Microsoft.SharePoint.Utilities Namespace