次の方法で共有


DacDeployOptions.DropConstraintsNotInSource プロパティ

ソース モデルに存在しない制約をすべて削除するかどうかを指定するブール値を取得または設定します。

名前空間:  Microsoft.SqlServer.Dac
アセンブリ:  Microsoft.SqlServer.Dac (Microsoft.SqlServer.Dac.dll)

構文

'宣言
Public Property DropConstraintsNotInSource As Boolean 
    Get 
    Set
'使用
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.DropConstraintsNotInSource

instance.DropConstraintsNotInSource = value
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
ソース モデルに存在しない制約を削除する場合は true、それ以外の場合は false。既定値は true です。

説明

これは CHECK 制約、DEFAULT 制約、外部キー制約、主キー制約、UNIQUE 制約に適用されます。

関連項目

参照

DacDeployOptions クラス

Microsoft.SqlServer.Dac 名前空間