다음을 통해 공유


SqlDeploymentOptions.BlockOnPossibleDataLoss 속성

Get or set boolean that specifies whether deployment should stop if the operation could cause data loss.

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

구문

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

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

속성 값

유형: System.Boolean
True to stop deployment if possible data loss if detected; otherwise, false. Default is true.

참고 항목

참조

SqlDeploymentOptions 클래스

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