共用方式為


SPSystemPerformanceCounterRelativeInstance Enumeration

Indicates whether an instance of a counter is given the name of the Web application (e.g., “SharePoint – 80”) or the name of the process in which it is running (e.g., “w3wp”).

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

Syntax

'Declaration
Public Enumeration SPSystemPerformanceCounterRelativeInstance
'Usage
Dim instance As SPSystemPerformanceCounterRelativeInstance
public enum SPSystemPerformanceCounterRelativeInstance

Members

Member name Description
RelativeProcess The instance is named after the process.
RelativeWebSite The instance is named after the Web application.

See Also

Reference

Microsoft.SharePoint.Utilities Namespace