SPPerformanceMonitorCreationData.Counter property

Gets the name of the counter that is watched by 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 Counter As String
    Get
'Usage
Dim instance As SPPerformanceMonitorCreationData
Dim value As String

value = instance.Counter
public string Counter { get; }

Property value

Type: System.String
The name of the counter.

Remarks

A counter represents one way of measuring the performance of the entity identified by the Category property. For example, among the counters in Windows Server 2008 for the “Processor” category are “% Processor Time”, “% Idle Time”, and “% C1 Time”; among the counters in the “SQL Server Database” category are “Active Transactions” and “Data File(s) Size”; and among counters in the “SharePoint Foundation Search Gatherer” category are “Active Queue Length” and “Delayed Documents”.

See also

Reference

SPPerformanceMonitorCreationData class

SPPerformanceMonitorCreationData members

Microsoft.SharePoint.Utilities namespace