Свойство TransferSqlServerObjectsTask.CopyForeignKeys
Gets or sets a Boolean indicating whether foreign keys are transferred from the source to the target database.
Пространство имен: Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Сборка: Microsoft.SqlServer.TransferSqlServerObjectsTask (в Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)
Синтаксис
'Декларация
Public Property CopyForeignKeys As Boolean
Get
Set
'Применение
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)
Значение свойства
Тип: System.Boolean
true indicates that foreign keys are transferred from the source to the target database.
Реализует
ITransferSqlServerObjectsTask.CopyForeignKeys
Замечания
The default value is true.
См. также
Справочник
TransferSqlServerObjectsTask Класс
Пространство имен Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask