Share via


TransferSqlServerObjectsTask.CopyForeignKeys Property

Definition

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

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

Property Value

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

Implements

Remarks

The default value is true.

Applies to