Condividi tramite


Proprietà SqlDeploymentOptions.BlockOnPossibleDataLoss

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

Spazio dei nomi  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property BlockOnPossibleDataLoss As Boolean 
    Get
'Utilizzo
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

Valore proprietà

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

Vedere anche

Riferimento

SqlDeploymentOptions Classe

Spazio dei nomi Microsoft.SqlServer.Dac.Deployment