Partager via


RemoveServerPerformanceLog method of the MSFT_ServerManagerTasks class

Remove the log file for a data collector set that are older than a given threshold.

Syntax

uint32 RemoveServerPerformanceLog(
  [in] string CollectorName,
  [in] uint64 MillisecondThreshold
);

Parameters

CollectorName [in]

The data collector set name.

MillisecondThreshold [in]

The threshold to use when removing the log files.

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