PerfData Object

Use the PerfData object to manipulate performance data provided by MOM through the ScriptContext.PerfData property and performance data created by the script with the ScriptContext.CreatePerfData method.

Properties

Name Description

CounterName

Gets or sets the name of the performance object counter used to report the performance data.

ID

Gets the globally unique identifier (GUID) of the performance data.

InstanceName

Gets or sets the name of the performance counter instance used to report the performance data.

ObjectName

Gets or sets the name of the performance object for which the performance data was collected. Examples of performance objects are processes, sections of shared memory, and physical devices.

SampleLocalTime

Gets or sets the local date and time that the performance data was collected.

SampleUTCTime

Gets or sets the date and time that the performance data was collected.

SourceComputer

Gets or sets the name of the computer from which the performance data was collected.

SourceDomain

Gets or sets the domain name of the computer that is providing the performance data.

Value

Gets or sets the numeric value of the performance data.

Requirements

Platforms: Requires Windows 2000 or later

Version: Requires MOM 2000  or later

See Also

ScriptContext.CreatePerfData Method | ScriptContext.PerfData Property