Partilhar via


Propriedade do RDL SqlDeploymentOptions.DropConstraintsNotInSource

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

Namespace:  Microsoft.SqlServer.Dac.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (em Microsoft.SqlServer.Dac.Extensions.dll)

Sintaxe

'Declaração
Public ReadOnly Property DropConstraintsNotInSource As Boolean 
    Get
'Uso
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

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

Valor da propriedade

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

Comentários

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

Consulte também

Referência

SqlDeploymentOptions Classe

Namespace Microsoft.SqlServer.Dac.Deployment