StaticCodeAnalysisTask.TreatWarningsAsErrors 属性

获取或设置是否将警告视为错误。

命名空间:  Microsoft.Data.Schema.Tasks
程序集:  Microsoft.Data.Schema.Tasks(在 Microsoft.Data.Schema.Tasks.dll 中)

语法

声明
Public Property TreatWarningsAsErrors As Boolean
    Get
    Set
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)

属性值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

StaticCodeAnalysisTask 类

Microsoft.Data.Schema.Tasks 命名空间