共用方式為


EventHealthEvaluation.ConsiderWarningAsError Property

Definition

Gets Boolean that indicates whether warnings are treated with the same severity as errors. The field is specified in the health policy used to evaluate the entity.

public bool ConsiderWarningAsError { get; }
member this.ConsiderWarningAsError : bool
Public ReadOnly Property ConsiderWarningAsError As Boolean

Property Value

true if warnings are treated as errors; otherwise, false.

Applies to