다음을 통해 공유


SqlDeploymentOptions.DropConstraintsNotInSource 속성

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

네임스페이스:  Microsoft.SqlServer.Dac.Deployment
어셈블리:  Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)

구문

‘선언
Public ReadOnly Property DropConstraintsNotInSource As Boolean 
    Get
‘사용 방법
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

value = instance.DropConstraintsNotInSource
public bool DropConstraintsNotInSource { get; }
public:
property bool DropConstraintsNotInSource {
    bool get ();
}
member DropConstraintsNotInSource : bool
function get DropConstraintsNotInSource () : 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.

참고 항목

참조

SqlDeploymentOptions 클래스

Microsoft.SqlServer.Dac.Deployment 네임스페이스