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

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