Share via


ClearLog method of the CIM_Log class

Requests that the Log be cleared of all entries.

The return value should be 0 if the request was successfully executed, 1 if the request is not supported, and some other value, as indicated by the ValueMap/Values qualifiers, if an error occurred.

Syntax

uint32 ClearLog();

Parameters

This method has no parameters.

Return value

Other codes may be returned if the call fails. On failure, you can obtain available information from the COM function GetErrorInfo. For scripts, use the command line net helpmsg Return value number.

Completed with no error

0

Success.

Not Supported

1

Not supported.

Unspecified Error

2

Unspecified error.

Timeout

3

Time-out.

Failed

4

Failed.

Invalid Parameter

5

Invalid parameter.

DMTF_Reserved

6 4095

Reserved by Distributed Management Task Force (DMTF).

Method_Reserved

4096 32767

Reserved by this method.

Vendor_Reserved

32768 4294967295

Reserved for vendor.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\Hardware
MOF
IpmiPrv.mof
DLL
IpmiPrv.dll

See also

CIM_Log