Compartilhar via


Propriedade do RDL TransferSqlServerObjectsTask.CopyData

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 (em Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Sintaxe

'Declaração
Public Property CopyData As Boolean 
    Get 
    Set
'Uso
Dim instance As TransferSqlServerObjectsTask 
Dim value As Boolean 

value = instance.CopyData

instance.CopyData = value
public bool CopyData { get; set; }
public:
virtual property bool CopyData {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract CopyData : bool with get, set 
override CopyData : bool with get, set
final function get CopyData () : boolean 
final function set CopyData (value : boolean)

Valor da propriedade

Tipo: 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.

Implementa

ITransferSqlServerObjectsTask.CopyData

Comentários

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

Consulte também

Referência

TransferSqlServerObjectsTask Classe

Namespace Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask