Share via


ClearLogFile method of the MSFT_MTEventChannel class

Clears the log file associated with the event channel.

Syntax

uint32 ClearLogFile();

Parameters

This method has no parameters.

Requirements

Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\ManagementTools
MOF
MtTmProv.mof
DLL
MtTmProv.dll

See also

MSFT_MTEventChannel