DacDeployOptions.BlockOnPossibleDataLoss Property

SQL Server 2014

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)

public bool BlockOnPossibleDataLoss { get; set; }

Property Value

Type: System.Boolean

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

Return to top

Community Additions