Partager via


Propriété SqlDeploymentOptions.DropConstraintsNotInSource

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

Espace de noms :  Microsoft.SqlServer.Dac.Deployment
Assembly :  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Syntaxe

'Déclaration
Public ReadOnly Property DropConstraintsNotInSource As Boolean 
    Get
'Utilisation
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

Valeur de propriété

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

Notes

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

Voir aussi

Référence

SqlDeploymentOptions Classe

Espace de noms Microsoft.SqlServer.Dac.Deployment