DacDeployOptions.BlockOnPossibleDataLoss Property
Get or set boolean that specifies whether deployment should stop if the operation could cause data loss.
Namespace: Microsoft.SqlServer.Dac
Assembly: Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)
Syntax
'Declaration
Public Property BlockOnPossibleDataLoss As Boolean
Get
Set
'Usage
Dim instance As DacDeployOptions
Dim value As Boolean
value = instance.BlockOnPossibleDataLoss
instance.BlockOnPossibleDataLoss = value
public bool BlockOnPossibleDataLoss { get; set; }
public:
property bool BlockOnPossibleDataLoss {
bool get ();
void set (bool value);
}
member BlockOnPossibleDataLoss : bool with get, set
function get BlockOnPossibleDataLoss () : boolean
function set BlockOnPossibleDataLoss (value : boolean)
Property Value
Type: System.Boolean
True to stop deployment if possible data loss if detected; otherwise, false. Default is true.