Share via


PerformanceCountersSettings Class [IIS 7 and higher]

Determines whether performance counters are enabled.

Syntax

class PerformanceCountersSettings : EmbeddedObject

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the PerformanceCountersSettings class.

Name

Description

Enabled

A read/write boolean value. true if performance counters are enabled; otherwise, false. The default is false.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the PerformanceCounters property of the SettingsSection class.

Inheritance Hierarchy

EmbeddedObject

   PerformanceCountersSettings

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

EmbeddedObject Class [IIS 7 and higher]

PerformanceCounterSettings Class [IIS 7 and higher]

SettingsSection Class [IIS 7 and higher]