TransferSqlServerObjectsTask.CopyForeignKeys Property

 

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

Namespace:   Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly:  Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

public bool CopyForeignKeys { get; set; }

Property Value

Type: System.Boolean

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

The default value is true.

Return to top
Show: