Compartir a través de


DacDeployOptions.DropConstraintsNotInSource Propiedad

Get or set boolean that specifies whether to drop all constraints that do not exist in the source model.

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

Sintaxis

'Declaración
Public Property DropConstraintsNotInSource As Boolean 
    Get 
    Set
'Uso
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.DropConstraintsNotInSource

instance.DropConstraintsNotInSource = value
public bool DropConstraintsNotInSource { get; set; }
public:
property bool DropConstraintsNotInSource {
    bool get ();
    void set (bool value);
}
member DropConstraintsNotInSource : bool with get, set
function get DropConstraintsNotInSource () : boolean 
function set DropConstraintsNotInSource (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
True to drop constraints not in the source model; otherwise, false. Default is true.

Comentarios

This applies to check, default, foreign key, primary key, and unique constraints.

Vea también

Referencia

DacDeployOptions Clase

Espacio de nombres Microsoft.SqlServer.Dac