다음을 통해 공유


SqlDeploymentOptions.BlockWhenDriftDetected 속성

Get or set boolean that specifies whether the system will check for differences between the present state of the database and the registered state of the database and block deployment if changes are detected. Even if this option is set to true, drift detection will only occur on a database if it was previously deployed with the RegisterDataTierApplication option enabled.

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

구문

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

value = instance.BlockWhenDriftDetected
public bool BlockWhenDriftDetected { get; }
public:
property bool BlockWhenDriftDetected {
    bool get ();
}
member BlockWhenDriftDetected : bool
function get BlockWhenDriftDetected () : boolean

속성 값

유형: System.Boolean
True to error is drift is detected; otherwise, false. Default is true.

참고 항목

참조

SqlDeploymentOptions 클래스

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