Rediger

Del via


SystemMonitor.LogViewStop property

Retrieves or sets the ending date used to retrieve counter values from the log files.

This property is read-only.

Syntax

Property LogViewStop As Date

Property value

Ending date used to retrieve counter values from the log files.

Remarks

SYSMON retrieves counter values from the log files that falls within the SystemMonitor.LogViewStart and stop dates, inclusively.

If you do not specify a stop value or you set this property to a date value that is later than the last date contained in the log file, SYSMON changes the value to the latest date value found in the log files.

If this property is set to a date value that is less than LogViewStart, SYSMON changes the value to the value of LogViewStart.

You must set the start date before you set the stop date; otherwise, both values are set to Date.MinValue, and if you set the dates after setting SystemMonitor.DataSourceType, then only the first counter value is retrieved from the log file.

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

SystemMonitor

SystemMonitor.GetLogViewRange

SystemMonitor.LogSourceStopTime

SystemMonitor.LogViewStart

SystemMonitor.SetLogViewRange