共用方式為


SqlSchemaModelConstructor.ValidationEnabled 屬性

取得或設定值,這個值指出是否啟用模型驗證。

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

語法

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

屬性值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

SqlSchemaModelConstructor 類別

Microsoft.Data.Schema.Sql.SchemaModel 命名空間