다음을 통해 공유


DacDeployOptions.DropConstraintsNotInSource 속성

Get or set boolean that specifies whether to drop all constraints that do not exist in the source model.

네임스페이스:  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 to drop constraints not in the source model; otherwise, false. Default is true.

주의

This applies to check, default, foreign key, primary key, and unique constraints.

참고 항목

참조

DacDeployOptions 클래스

Microsoft.SqlServer.Dac 네임스페이스