次の方法で共有


GetPerformanceCollectorState method of the MSFT_ServerManagerTasks class

Retrieves the state of a Data Collector Set in Performance Logs & Alerts.

Syntax

uint32 GetPerformanceCollectorState(
  [in]  string CollectorName,
  [out] uint8  cmdletOutput
);

Parameters

CollectorName [in]

The name of the Data Collector Set in Performance Logs & Alerts.

cmdletOutput [out]

The state of the data collector set in PLA.

Stopped (0)

Running (1)

Requirements

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

See also

MSFT_ServerManagerTasks