Share via


ITransferSqlServerObjectsTask.CopyPrimaryKeys Property

Definition

Gets or sets a value that indicates 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 if primary keys are transferred from the source to the target database; otherwise, false.

Applies to