SqlSchemaDeploymentOptions.BlockOnPossibleDataLoss (Propiedad)
Obtiene o establece un valor que indica si se debería bloquear el script de actualización cuando pueda producirse pérdida de datos.
Espacio de nombres: Microsoft.Data.Schema.Sql.Build
Ensamblado: Microsoft.Data.Schema.Sql (en Microsoft.Data.Schema.Sql.dll)
Sintaxis
'Declaración
Public Property BlockOnPossibleDataLoss As Boolean
Get
Set
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 de propiedad
Tipo: System.Boolean
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.