语言

TransferSqlServerObjectsTask.CopyPrimaryKeys 属性

定义

获取或设置一个布尔值,指示主键是否从源到目标数据库。

public:
 property bool CopyPrimaryKeys { bool get(); void set(bool value); };
public bool CopyPrimaryKeys { get; set; }
member this.CopyPrimaryKeys : bool with get, set
Public Property CopyPrimaryKeys As Boolean

属性值

true表示主键是从源到目标数据库的。

实现

注解

默认值为 true。

适用于