ClearLog method of the MSFT_PCSVDevice class

Requests that the specified log on the physical computer system be cleared of all entries.

Syntax


uint32 ClearLog(
  [in] string LogInstanceID
);

Parameters

LogInstanceID [in]

Specifies the log to be cleared. This parameter corresponds to the CIM_RecordLog.InstanceID property.

Return value

This method returns one of the following values.

Completed with No Error (0)
Not Supported (1)
Failed (2)
DMTF Reserved (3–32767)
Vendor Reserved (32768–65535)

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Namespace

Root\Microsoft\Windows\HardwareManagement

MOF

PCSVDevice.mof

DLL

PCSVDevice.dll

See also

MSFT_PCSVDevice

 

 

Show: