Freigeben über


SqlDeploymentOptions.BlockOnPossibleDataLoss-Eigenschaft

Get or set boolean that specifies whether deployment should stop if the operation could cause data loss.

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public ReadOnly Property BlockOnPossibleDataLoss As Boolean 
    Get
'Usage
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

value = instance.BlockOnPossibleDataLoss
public bool BlockOnPossibleDataLoss { get; }
public:
property bool BlockOnPossibleDataLoss {
    bool get ();
}
member BlockOnPossibleDataLoss : bool
function get BlockOnPossibleDataLoss () : boolean

Eigenschaftswert

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

Siehe auch

Verweis

SqlDeploymentOptions Klasse

Microsoft.SqlServer.Dac.Deployment-Namespace