Свойство TransferSqlServerObjectsTask.CopySchema
Gets or sets a Boolean that specifies whether the schema is copied in the transfer operation. This property is only available for SQL Server 2005 or later versions.
Пространство имен: Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Сборка: Microsoft.SqlServer.TransferSqlServerObjectsTask (в Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)
Синтаксис
'Декларация
Public Property CopySchema As Boolean
Get
Set
'Применение
Dim instance As TransferSqlServerObjectsTask
Dim value As Boolean
value = instance.CopySchema
instance.CopySchema = value
public bool CopySchema { get; set; }
public:
virtual property bool CopySchema {
bool get () sealed;
void set (bool value) sealed;
}
abstract CopySchema : bool with get, set
override CopySchema : bool with get, set
final function get CopySchema () : boolean
final function set CopySchema (value : boolean)
Значение свойства
Тип: System.Boolean
true indicates that the schema is copied from the source database to the target database.
Реализует
ITransferSqlServerObjectsTask.CopySchema
Замечания
The default value is true.
См. также
Справочник
TransferSqlServerObjectsTask Класс
Пространство имен Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask