Compartir a través de


SqlDeploymentOptions.BlockOnPossibleDataLoss Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Dac.Deployment
Ensamblado:  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Sintaxis

'Declaración
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 de la propiedad

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

Vea también

Referencia

SqlDeploymentOptions Clase

Espacio de nombres Microsoft.SqlServer.Dac.Deployment