Share via


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)

Syntax

'Declaration
Public Property CopyData As Boolean
public bool CopyData { get; set; }
public:
virtual property bool CopyData {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_CopyData ()

/** @property */
public final void set_CopyData (boolean value)
public final function get CopyData () : boolean

public final function set CopyData (value : boolean)

Property Value

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

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

TransferSqlServerObjectsTask Class
TransferSqlServerObjectsTask Members
Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask Namespace