EventLogQuery.ReverseDirection 属性

定义

获取或设置布尔值,该值确定是否从事件日志中最新事件读取事件到日志中最早的事件。

public:
 property bool ReverseDirection { bool get(); void set(bool value); };
public bool ReverseDirection { get; set; }
member this.ReverseDirection : bool with get, set
Public Property ReverseDirection As Boolean

属性值

返回 true 事件是否从日志中最新的事件读取到最旧的事件,并返回 false 从日志中最早的事件读取到最新事件。

注解

默认值为 false

适用于