ClearLog method of the CIM_RecordLog 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.
-
0 (0x0)
Success.
-
1 (0x1)
Not supported.
-
2 (0x2)
Unspecified error.
-
3 (0x3)
Time-out.
-
4 (0x4)
Failed.
-
5 (0x5)
Invalid parameter.
-
6 4095
DMTF Reserved
-
4096 32767
Reserved by this method
-
32768 (0x8000)
Reserved for vendor.
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\Hardware |
MOF |
|
DLL |
|