Partilhar via


Propriedade do RDL DacDeployOptions.BlockOnPossibleDataLoss

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 (em Microsoft.SqlServer.Dac.dll)

Sintaxe

'Declaração
Public Property BlockOnPossibleDataLoss As Boolean 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

DacDeployOptions Classe

Namespace Microsoft.SqlServer.Dac