Edit

Share via


EventLogQuery.TolerateQueryErrors Property

Definition

Gets or sets a Boolean value that determines whether this query will continue to retrieve events when the query has an error.

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

Property Value

true indicates that the query will continue to retrieve events even if the query fails for some logs, and false indicates that this query will not continue to retrieve events when the query fails.

Applies to

See also