共用方式為


SchemaDeploymentOptions.TreatVerificationErrorsAsWarnings 屬性

取得或設定值,這個值表示是否要將所有驗證錯誤視為警告。

命名空間:  Microsoft.Data.Schema.Build
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Property TreatVerificationErrorsAsWarnings As Boolean
    Get
    Set
public bool TreatVerificationErrorsAsWarnings { get; set; }
public:
property bool TreatVerificationErrorsAsWarnings {
    bool get ();
    void set (bool value);
}
member TreatVerificationErrorsAsWarnings : bool with get, set
function get TreatVerificationErrorsAsWarnings () : boolean
function set TreatVerificationErrorsAsWarnings (value : boolean)

屬性值

型別:System.Boolean
true 表示將驗證錯誤視為警告,否則為 false。

.NET Framework 安全性

請參閱

參考

SchemaDeploymentOptions 類別

Microsoft.Data.Schema.Build 命名空間