SPSystemPerformanceCounterMonitor.Name property

Gets the full name of the monitor.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Name As String
    Get
'Usage
Dim instance As SPSystemPerformanceCounterMonitor
Dim value As String

value = instance.Name
public override string Name { get; }

Property value

Type: System.String
The name of the monitor in the form Computer\Category\Counter[\Instance].

Implements

ISPPerformanceMonitor.Name

Remarks

The first three parts of the name come from the Computer, Category, and Counter properties, respectively. If there is only one instance of the counter, there is no instance part of the name. Otherwise, Instance is always either the name of the SharePoint Foundation Web application, such as “SharePoint – 80” or the name of the process, such as “w3wp”.

See also

Reference

SPSystemPerformanceCounterMonitor class

SPSystemPerformanceCounterMonitor members

Microsoft.SharePoint.Utilities namespace