Share via


StaticCodeAnalysisTask.TreatWarningsAsErrors Property

Gets or sets whether to treat warnings as errors.

Namespace:  Microsoft.Data.Schema.Tasks
Assembly:  Microsoft.Data.Schema.Tasks (in Microsoft.Data.Schema.Tasks.dll)

Syntax

'Declaration
Public Property TreatWarningsAsErrors As Boolean
public bool TreatWarningsAsErrors { get; set; }
public:
property bool TreatWarningsAsErrors {
    bool get ();
    void set (bool value);
}
member TreatWarningsAsErrors : bool with get, set
function get TreatWarningsAsErrors () : boolean
function set TreatWarningsAsErrors (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

StaticCodeAnalysisTask Class

Microsoft.Data.Schema.Tasks Namespace