LogFiles.Remove method

Removes the specified LogFileItem instance from the collection.

Syntax

LogFiles.Remove( _
  ByVal index As Object _
)

Parameters

index [in]

Integer index of the log file to remove from the collection. The index is one-based.

Return value

This method does not return a value.

Remarks

Prior to Windows Vista: You cannot remove log files from the log file collection if the value of SystemMonitor.DataSourceType is set to sysmonLogFiles.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
DLL
Sysmon.ocx

See also

LogFiles

LogFileItem

LogFiles