TransferSqlServerObjectsTask.CopyData Property


Gets or sets a Boolean indicating whether data is included as part of the transfer of tables and views from the SQL Server source to the target database.

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

public bool CopyData { get; set; }

Property Value

Type: System.Boolean

true indicates that data is transferred from the SQL Server source to the target database; false indicates that only object metadata is transferred.

The default value is true. This property applies only to tables and views.

Return to top