SqlSchemaDeploymentOptions.BlockOnPossibleDataLoss Property

Gets or sets a value that indicates whether the update script should block if data loss might occur.

Namespace:  Microsoft.Data.Schema.Sql.Build
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Property BlockOnPossibleDataLoss As Boolean
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

.NET Framework Security

See Also

Reference

SqlSchemaDeploymentOptions Class

Microsoft.Data.Schema.Sql.Build Namespace