DacDeployOptions.BlockWhenDriftDetected 속성

정의

시스템에서 데이터베이스의 현재 상태와 데이터베이스의 등록된 상태 간의 차이를 확인할지 여부를 지정하는 부울을 가져와서 설정하고 변경 내용이 감지되면 배포를 차단합니다. 이 옵션을 true로 설정하더라도 드리프트 검색은 이전에 옵션을 사용하도록 설정된 상태로 배포된 경우에만 데이터베이스에서 RegisterDataTierApplication 발생합니다.

public bool BlockWhenDriftDetected { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "BlockWhenDriftDetected")]
public bool BlockWhenDriftDetected { get; set; }
member this.BlockWhenDriftDetected : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "BlockWhenDriftDetected")>]
member this.BlockWhenDriftDetected : bool with get, set
Public Property BlockWhenDriftDetected As Boolean

속성 값

True이면 드리프트가 검색됩니다. 그렇지 않으면 false입니다. 기본값은 true입니다.

특성

적용 대상