Compartir a través de


CopyForeignKeys Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Ensamblado:  Microsoft.SqlServer.TransferSqlServerObjectsTask (en Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Sintaxis

'Declaración
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 de la propiedad

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

Implementa

ITransferSqlServerObjectsTask. . :: . .CopyForeignKeys

Notas

The default value is true.