ITransferSqlServerObjectsTask.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;否则为 false。

适用于