|  | 
| Previous | Next | 
The Reset method deletes the contents of the current log file.
Syntax
HRESULT Reset( void);
Parameters
This method takes no parameters.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
| Return code | Description | 
| E_ACCESSDENIED | An error occurred while accessing the log file. | 
| E_ABORT | The method timed out while trying to get exclusive access to the log file. | 
| E_FAIL | An unspecified error occurred. | 
See Also
| Previous | Next |