SPPerformanceMonitorCreationData.Category property

Gets the category of the monitor that is created from the SPPerformanceMonitorCreationData object.

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

Syntax

'Declaration
Public ReadOnly Property Category As String
    Get
'Usage
Dim instance As SPPerformanceMonitorCreationData
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 “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.” It is some hardware or software entity whose performance is subject to measurement in one or more ways.

See also

Reference

SPPerformanceMonitorCreationData class

SPPerformanceMonitorCreationData members

Microsoft.SharePoint.Utilities namespace