Partilhar via


Propriedade do RDL SqlDeploymentOptions.BlockOnPossibleDataLoss

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

Sintaxe

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

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

SqlDeploymentOptions Classe

Namespace Microsoft.SqlServer.Dac.Deployment