Share via


SPSystemPerformanceCounterMonitor.Name Property

Gets the full name of the monitor.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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