PublishDacpacSettings.

BlockOnPossibleDataLoss Property

Summary

Get or set boolean that specifies whether deployment should stop if the operation could cause data loss.
Assembly
Cake.SqlServer.dll
Namespace
Cake.SqlServer
Containing Type
PublishDacpacSettings

Syntax

public bool BlockOnPossibleDataLoss { get; set; }

Value

Type Description
bool True to stop deployment if possible data loss if detected; otherwise, false. Default is true.