Partager via


MSFT_ServerPerformanceCounterSamples class

Represents the list of performance counter samples collected from the managed node.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("mgmtprovider"), AMENDMENT]
class MSFT_ServerPerformanceCounterSamples
{
  string   CounterPaths[];
  datetime Timestamps[];
  string   Values[];
};

Members

The MSFT_ServerPerformanceCounterSamples class has these types of members:

Properties

The MSFT_ServerPerformanceCounterSamples class has these properties.

CounterPaths

Data type: string array

Access type: Read-only

The list of performance counters path that are in the sample.

Timestamps

Data type: datetime array

Access type: Read-only

The time stamps of the samples.

Values

Data type: string array

Access type: Read-only

The sample values of the counter paths.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Windows\ServerManager
MOF
MgmtProvider.mof
DLL
MgmtProvider.dll

See also

GetCounterSamplesAtTime method of MSFT_ServerManagerTasks

GetCounterSamplesInTimeRange method of MSFT_ServerManagerTasks