SqlSchemaDeploymentOptions.DropConstraintsNotInSource 属性

获取或设置一个值,该值指示部署更改时是否应删除仅在目标中出现的约束。

命名空间:  Microsoft.Data.Schema.Sql.Build
程序集:  Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)

语法

声明
Public Property DropConstraintsNotInSource As Boolean
    Get
    Set
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)

属性值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

SqlSchemaDeploymentOptions 类

Microsoft.Data.Schema.Sql.Build 命名空间