Свойство SqlDeploymentOptions.DropConstraintsNotInSource

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

Пространство имен:  Microsoft.SqlServer.Dac.Deployment
Сборка:  Microsoft.SqlServer.Dac.Extensions (в Microsoft.SqlServer.Dac.Extensions.dll)

Синтаксис

'Декларация
Public ReadOnly Property DropConstraintsNotInSource As Boolean 
    Get
'Применение
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

Значение свойства

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

Замечания

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

См. также

Справочник

SqlDeploymentOptions Класс

Пространство имен Microsoft.SqlServer.Dac.Deployment