共用方式為


SqlSchemaDeploymentOptions.DropConstraintsNotInSource 屬性

取得或設定值,這個值表示是否應在部署變更時捨棄只會出現在目標中的條件約束。

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

語法

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

屬性值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

SqlSchemaDeploymentOptions 類別

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