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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.