Share via


TransferSqlServerObjectsTask.CopyPrimaryKeys Property

Definition

Gets or sets a Boolean indicating whether primary keys are transferred from the source to the target database.

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

Property Value

true indicates that primary keys are transferred from the source to the target database.

Implements

Remarks

The default value is true.

Applies to