Compartilhar via


Propriedade do RDL TransferSqlServerObjectsTask.CopyForeignKeys

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

Sintaxe

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

value = instance.CopyForeignKeys

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

Valor da propriedade

Tipo: System.Boolean
true indicates that foreign keys are transferred from the source to the target database.

Implementa

ITransferSqlServerObjectsTask.CopyForeignKeys

Comentários

The default value is true.

Consulte também

Referência

TransferSqlServerObjectsTask Classe

Namespace Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask