Propriété DacDeployOptions.BlockOnPossibleDataLoss
Get or set boolean that specifies whether deployment should stop if the operation could cause data loss.
Espace de noms : Microsoft.SqlServer.Dac
Assembly : Microsoft.SqlServer.Dac (en Microsoft.SqlServer.Dac.dll)
Syntaxe
'Déclaration
Public Property BlockOnPossibleDataLoss As Boolean
Get
Set
'Utilisation
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)
Valeur de propriété
Type : System.Boolean
True to stop deployment if possible data loss if detected; otherwise, false. Default is true.